Home
last modified time | relevance | path

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

/PHP-7.1/ext/fileinfo/libmagic/
H A Dmagic.c367 #define SLOP (1 + sizeof(union VALUETYPE)) in file_or_stream() macro
368 buf = emalloc(HOWMANY + SLOP); in file_or_stream()
409 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */ in file_or_stream()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch2618 #define SLOP (1 + sizeof(union VALUETYPE))
2619 - if ((buf = CAST(unsigned char *, malloc(HOWMANY + SLOP))) == NULL)
2621 + buf = emalloc(HOWMANY + SLOP);
2737 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */

Completed in 15 milliseconds