Home
last modified time | relevance | path

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

/PHP-5.5/ext/fileinfo/libmagic/
H A Dmagic.c366 #define SLOP (1 + sizeof(union VALUETYPE)) in file_or_stream() macro
367 buf = emalloc(HOWMANY + SLOP); in file_or_stream()
412 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */ in file_or_stream()
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch2427 #define SLOP (1 + sizeof(union VALUETYPE))
2428 - if ((buf = CAST(unsigned char *, malloc(HOWMANY + SLOP))) == NULL)
2430 + buf = emalloc(HOWMANY + SLOP);
2517 (void)memset(buf + nbytes, 0, SLOP); /* NUL terminate */

Completed in 11 milliseconds