8
0
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:
Adriano dos Santos Fernandes 2016-07-13 16:29:08 -03:00
parent 0d46c91f98
commit 891c1727e6

View File

@ -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;