We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1de275 commit c7b7cc4Copy full SHA for c7b7cc4
ext/dba/dba.c
@@ -868,7 +868,7 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
868
info->path = pestrndup(opened_path->val, opened_path->len, persistent);
869
}
870
/* now store the name of the lock */
871
- info->lock.name = pestrdup(opened_path->val, opened_path->len, persistent);
+ info->lock.name = pestrndup(opened_path->val, opened_path->len, persistent);
872
zend_string_release(opened_path);
873
874
0 commit comments