Home
last modified time | relevance | path

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

/PHP-5.3/ext/fileinfo/libmagic/
H A Dmagic.c407 #define SLOP (1 + sizeof(union VALUETYPE)) in file_or_stream() macro
408 buf = emalloc(HOWMANY + SLOP); in file_or_stream()
453 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */ in file_or_stream()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch2199 #define SLOP (1 + sizeof(union VALUETYPE))
2200 - if ((buf = CAST(unsigned char *, malloc(HOWMANY + SLOP))) == NULL)
2202 + buf = emalloc(HOWMANY + SLOP);
2289 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */

Completed in 19 milliseconds