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:
parent
4aeb9435fb
commit
5baa5ac4ec
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user