8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Post fix for #8256.

port should be NULLified after forced disconnect.
This commit is contained in:
Vlad Khorsun 2024-10-17 10:54:16 +03:00
parent dc5fb8f082
commit c78b5e6947

View File

@ -7400,9 +7400,6 @@ static rem_port* analyze(ClntAuthBlock& cBlock, PathName& attach_name, unsigned
* *
**************************************/ **************************************/
rem_port* port = NULL;
int inet_af = AF_UNSPEC;
cBlock.loadClnt(pb, &parSet); cBlock.loadClnt(pb, &parSet);
pb.deleteWithTag(parSet.auth_block); pb.deleteWithTag(parSet.auth_block);
@ -7414,8 +7411,12 @@ static rem_port* analyze(ClntAuthBlock& cBlock, PathName& attach_name, unsigned
Auth::setLegacySSP(legacySSP); Auth::setLegacySSP(legacySSP);
#endif #endif
rem_port* port;
while (true) while (true)
{ {
port = NULL;
int inet_af = AF_UNSPEC;
authenticateStep0(cBlock); authenticateStep0(cBlock);
const NoCaseString savePluginName(cBlock.plugins.name()); const NoCaseString savePluginName(cBlock.plugins.name());