8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 18:43:02 +01:00

Fixed bug #8331 : Crash of fbclient.dll on Windows

This commit is contained in:
Vlad Khorsun 2024-11-27 22:40:07 +02:00
parent 77b95b8729
commit 6551af1fcb

View File

@ -7728,7 +7728,7 @@ static rem_port* analyze(ClntAuthBlock& cBlock, PathName& attach_name, unsigned
{ {
#ifdef TRUSTED_AUTH #ifdef TRUSTED_AUTH
const char* const pluginName = cBlock.plugins.name(); 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; throw;
// Retry connect with failed plugin only and using legacy security package // Retry connect with failed plugin only and using legacy security package