mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
Warning
This commit is contained in:
parent
cf6d76240a
commit
2e2e50d96a
@ -1437,7 +1437,8 @@ void CVT_move_common(const dsc* from, dsc* to, Callbacks* cb)
|
||||
// multibyte character sets which use a zero
|
||||
// byte to represent end-of-string
|
||||
|
||||
length = MIN(length, to->dsc_length - 1);
|
||||
fb_assert(to->dsc_length > 0)
|
||||
length = MIN(length, ULONG(to->dsc_length - 1));
|
||||
cb->validateData(toCharset, length, q, cb->err);
|
||||
toLength = length;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user