8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

Fixed bug CORE-5464 : AV in fbclient when reading blob stored in incompatible encoding

This commit is contained in:
hvlad 2017-01-20 00:43:48 +02:00
parent ddd5d0437d
commit 0fab1a8559

View File

@ -183,6 +183,7 @@ ISC_STATUS BLF_get_segment(thread_db* tdbb,
{ {
if (status != localStatus[1]) if (status != localStatus[1])
{ {
localStatus[0] = isc_arg_gds;
localStatus[1] = status; localStatus[1] = status;
localStatus[2] = isc_arg_end; localStatus[2] = isc_arg_end;
} }
@ -291,6 +292,7 @@ void BLF_put_segment(thread_db* tdbb,
{ {
if (status != localStatus[1]) if (status != localStatus[1])
{ {
localStatus[0] = isc_arg_gds;
localStatus[1] = status; localStatus[1] = status;
localStatus[2] = isc_arg_end; localStatus[2] = isc_arg_end;
} }