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

Correction - thanks to Dmitry Kovalenko
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adriano dos Santos Fernandes 2023-07-19 21:39:11 -03:00 committed by GitHub
parent eda93d835a
commit a39c5e26f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -291,7 +291,7 @@ bool_t xdr_datum( xdr_t* xdrs, const dsc* desc, UCHAR* buffer)
break;
case dtype_timestamp_tz:
fb_assert(desc->dsc_length >= 2 * sizeof(SLONG) + 1);
fb_assert(desc->dsc_length >= 2 * sizeof(SLONG) + sizeof(SSHORT));
if (!xdr_long(xdrs, &((SLONG*) p)[0]))
return FALSE;
if (!xdr_long(xdrs, &((SLONG*) p)[1]))