Home
last modified time | relevance | path

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

/PHP-5.3/ext/fileinfo/libmagic/
H A Dreadelf.c144 #define xsh_size (clazz == ELFCLASS32 \ macro
890 nbuf = emalloc((size_t)xsh_size); in doshn()
897 if (FINFO_READ_FUNC(fd, nbuf, (size_t)xsh_size) != in doshn()
898 (ssize_t)xsh_size) { in doshn()
906 if (noff >= (off_t)xsh_size) in doshn()
909 (size_t)xsh_size, clazz, swap, 4, in doshn()
928 if ((coff += xcap_sizeof) > (off_t)xsh_size) in doshn()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch2661 - if ((nbuf = malloc((size_t)xsh_size)) == NULL) {
2667 + nbuf = emalloc((size_t)xsh_size);
2675 - if (read(fd, nbuf, (size_t)xsh_size) !=
2676 + if (FINFO_READ_FUNC(fd, nbuf, (size_t)xsh_size) !=
2677 (ssize_t)xsh_size) {
2698 if ((coff += xcap_sizeof) > (off_t)xsh_size)

Completed in 21 milliseconds