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:
parent
bdbc5ea9e0
commit
cd03ccddb8
@ -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);
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user