mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 09:23:03 +01:00
Fixed bug CORE-5464 : AV in fbclient when reading blob stored in incompatible encoding
This commit is contained in:
parent
ddd5d0437d
commit
0fab1a8559
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user