From 6551af1fcbc9f9749b213f44637ae2d9e1775a3e Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Wed, 27 Nov 2024 22:40:07 +0200 Subject: [PATCH] Fixed bug #8331 : Crash of fbclient.dll on Windows --- src/remote/client/interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/client/interface.cpp b/src/remote/client/interface.cpp index d175c6a9ba..f4843acf8c 100644 --- a/src/remote/client/interface.cpp +++ b/src/remote/client/interface.cpp @@ -7728,7 +7728,7 @@ static rem_port* analyze(ClntAuthBlock& cBlock, PathName& attach_name, unsigned { #ifdef TRUSTED_AUTH const char* const pluginName = cBlock.plugins.name(); - if (legacySSP || fb_utils::stricmp(pluginName, "WIN_SSPI") != 0) + if (legacySSP || !pluginName || fb_utils::stricmp(pluginName, "WIN_SSPI") != 0) throw; // Retry connect with failed plugin only and using legacy security package