Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | compress.c | 250 unsigned char *newbuf = NULL; in file_zmagic() local 289 urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz); in file_zmagic() 291 (char *)newbuf, nsz); in file_zmagic() 297 prv = format_decompression_error(ms, i, newbuf); in file_zmagic() 299 prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz); in file_zmagic() 347 if (newbuf) in file_zmagic() 348 efree(newbuf); in file_zmagic()
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 1626 char *buf = NULL, *newbuf = NULL; in fpm_conf_load_ini_file() local 1659 newbuf = (char*) realloc(buf, sizeof(char) * (bufsize + 2)); in fpm_conf_load_ini_file() 1660 if (newbuf == NULL) { in fpm_conf_load_ini_file() 1666 buf = newbuf; in fpm_conf_load_ini_file()
|
/PHP-8.2/ext/fileinfo/ |
H A D | libmagic.patch | 1374 prv = format_decompression_error(ms, i, newbuf); 1376 - prv = file_buffer(ms, -1, NULL, name, newbuf, nsz); 1377 + prv = file_buffer(ms, NULL, NULL, name, newbuf, nsz); 1406 - free(newbuf); 1407 + if (newbuf) 1408 + efree(newbuf);
|
Completed in 18 milliseconds