Home
last modified time | relevance | path

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

/PHP-7.3/ext/fileinfo/libmagic/
H A Dfuncs.c367 size_t psize, len; in file_getbuffer() local
384 psize = len * 4 + 1; in file_getbuffer()
385 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
386 file_oomem(ms, psize); in file_getbuffer()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch3040 psize = len * 4 + 1;
3041 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
3042 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
3043 file_oomem(ms, psize);

Completed in 10 milliseconds