8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:03:04 +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:40:30 -03:00 committed by GitHub
parent a47ecb2052
commit 81e946209a
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]))