mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Authentication block, received by client plugin from engine, might contain trash
This commit is contained in:
parent
3a135e2367
commit
9e736e3f79
@ -8657,7 +8657,9 @@ static void cleanDpb(Firebird::ClumpletWriter& dpb, const ParametersSet* tags)
|
||||
|
||||
|
||||
RmtAuthBlock::RmtAuthBlock(const Firebird::AuthReader::AuthBlock& aBlock)
|
||||
: rdr(*getDefaultMemoryPool(), aBlock), info(*getDefaultMemoryPool())
|
||||
: buffer(*getDefaultMemoryPool(), aBlock),
|
||||
rdr(*getDefaultMemoryPool(), buffer),
|
||||
info(*getDefaultMemoryPool())
|
||||
{
|
||||
FbLocalStatus st;
|
||||
first(&st);
|
||||
|
@ -759,6 +759,7 @@ public:
|
||||
FB_BOOLEAN first(Firebird::CheckStatusWrapper* status);
|
||||
|
||||
private:
|
||||
Firebird::AuthReader::AuthBlock buffer;
|
||||
Firebird::AuthReader rdr;
|
||||
Firebird::AuthReader::Info info;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user