Home
last modified time | relevance | path

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

/PHP-5.4/ext/fileinfo/libmagic/
H A Dfuncs.c339 size_t psize, len; in file_getbuffer() local
355 psize = len * 4 + 1; in file_getbuffer()
356 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
357 file_oomem(ms, psize); in file_getbuffer()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch2109 size_t psize, len;
2119 psize = len * 4 + 1;
2120 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
2121 + if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
2122 file_oomem(ms, psize);

Completed in 16 milliseconds