mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Correction (CORE-5277 / CORE-5304).
This commit is contained in:
parent
0d46c91f98
commit
891c1727e6
@ -7935,7 +7935,7 @@ dsc* ParameterNode::execute(thread_db* tdbb, jrd_req* request) const
|
||||
switch (desc->dsc_dtype)
|
||||
{
|
||||
case dtype_cstring:
|
||||
len = strlen((const char*) p);
|
||||
len = strnlen((const char*) p, maxLen);
|
||||
--maxLen;
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user