Searched refs:newbuf (Results 1 – 3 of 3) sorted by path
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1452 prv = format_decompression_error(ms, i, newbuf); 1454 - prv = file_buffer(ms, -1, NULL, name, newbuf, nsz); 1455 + prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz); 1484 - free(newbuf); 1485 + if (newbuf) 1486 + efree(newbuf);
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | compress.c | 219 unsigned char *newbuf = NULL; in file_zmagic() local 259 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic() 261 (char *)newbuf, nsz); in file_zmagic() 267 prv = format_decompression_error(ms, i, newbuf); in file_zmagic() 269 prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz); in file_zmagic() 317 if (newbuf) in file_zmagic() 318 efree(newbuf); in file_zmagic()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1521 char *buf = NULL, *newbuf = NULL; in fpm_conf_load_ini_file() local 1554 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2)); in fpm_conf_load_ini_file() 1555 if (newbuf == NULL) { in fpm_conf_load_ini_file() 1561 buf = newbuf; in fpm_conf_load_ini_file()
|
Completed in 18 milliseconds