Home
last modified time | relevance | path

Searched refs:psize (Results 1 – 2 of 2) sorted by relevance

/PHP-7.2/ext/fileinfo/libmagic/
H A Dfuncs.c361 size_t psize, len; in file_getbuffer() local
378 psize = len * 4 + 1; in file_getbuffer()
379 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
380 file_oomem(ms, psize); in file_getbuffer()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch2165 psize = len * 4 + 1;
2166 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
2167 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
2168 file_oomem(ms, psize);

Completed in 19 milliseconds