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

Backported improvement CORE-3248: Set unused bytes of varchar values in message buffer to 0

This commit is contained in:
alexpeshkoff 2010-11-19 17:36:57 +00:00
parent e6ae6b7d9d
commit d4fdc5d9a7

View File

@ -1393,9 +1393,11 @@ void CVT_move_common(const dsc* from, dsc* to, Callbacks* cb)
}
break;
case dtype_varying:
MOVE_CLEAR(to->dsc_address, to->dsc_length);
// fall through ...
case dtype_text:
case dtype_cstring:
case dtype_varying:
switch (from->dsc_dtype)
{
case dtype_dbkey: