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

Corrected the target buffer length.

This commit is contained in:
dimitr 2013-04-28 14:11:17 +00:00
parent bdbc5ea9e0
commit cd03ccddb8

View File

@ -1760,7 +1760,7 @@ void CVT_conversion_error(const dsc* desc, ErrorFunction err)
const char* p;
VaryStr<128> s;
const USHORT length =
CVT_make_string(desc, ttype_ascii, &p, &s, sizeof(s) - 1, localError);
CVT_make_string(desc, ttype_ascii, &p, &s, sizeof(s), localError);
message.assign(p, length);
}
/*