Home
last modified time | relevance | path

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

/PHP-8.2/ext/fileinfo/libmagic/
H A Dcompress.c572 z.next_out = *newch; in uncompresszlib()
593 (*newch)[*n] = '\0'; in uncompresszlib()
598 *n = strlen(RCAST(char *, *newch)); in uncompresszlib()
636 (*newch)[*n] = '\0'; in uncompressbzlib()
641 *n = strlen(RCAST(char *, *newch)); in uncompressbzlib()
676 (*newch)[*n] = '\0'; in uncompressxzlib()
930 if (*newch == NULL) { in uncompressbuf()
945 r = filter_error(*newch, r); in uncompressbuf()
948 free(*newch); in uncompressbuf()
959 (*newch)[*n] = '\0'; in uncompressbuf()
[all …]
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch1450 - if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL)
1451 + if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL)
1452 return makeerror(newch, n, "No buffer, %s", strerror(errno));

Completed in 10 milliseconds