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

Restore zero-initialization of message items flagged as NULLs.

This commit is contained in:
dimitr 2014-10-03 16:15:36 +00:00
parent 4aeb9435fb
commit 5baa5ac4ec

View File

@ -1276,8 +1276,12 @@ static bool_t xdr_packed_message( XDR* xdrs, RMessage* message, const rem_fmt* f
}
}
}
else
else // XDR_DECODE
{
// Zero-initialize the message
memset(message->msg_address, 0, format->fmt_length);
// Receive the NULL bitmap
if (!xdr_opaque(xdrs, reinterpret_cast<SCHAR*>(nulls.getData()), flagBytes))