mirror of
https://github.com/php/php-src.git
synced 2025-01-19 10:13:38 +08:00
MFH
This commit is contained in:
parent
d040ec9b8e
commit
a0e2ccf490
@ -1235,11 +1235,11 @@ quit_loop:
|
||||
}
|
||||
|
||||
len = cend - comp;
|
||||
ret = emalloc(len + 1);
|
||||
memcpy(ret, comp, len);
|
||||
ret[len] = '\0';
|
||||
|
||||
if (p_ret) {
|
||||
ret = emalloc(len + 1);
|
||||
memcpy(ret, comp, len);
|
||||
ret[len] = '\0';
|
||||
*p_ret = ret;
|
||||
}
|
||||
if (p_len) {
|
||||
|
Loading…
Reference in New Issue
Block a user