Home
last modified time | relevance | path

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

/PHP-7.4/ext/fileinfo/libmagic/
H A Dcompress.c541 z.next_out = *newch; in uncompresszlib()
562 (*newch)[*n] = '\0'; in uncompresszlib()
567 *n = strlen(RCAST(char *, *newch)); in uncompresszlib()
688 unsigned char **newch, size_t* n) in uncompressbuf() argument
771 if (*newch == NULL) { in uncompressbuf()
772 rv = makeerror(newch, n, "No buffer, %s", in uncompressbuf()
786 r = filter_error(*newch, r); in uncompressbuf()
789 free(*newch); in uncompressbuf()
794 rv = makeerror(newch, n, "No data"); in uncompressbuf()
800 (*newch)[*n] = '\0'; in uncompressbuf()
[all …]
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1536 - if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL)
1537 + if ((*newch = CAST(unsigned char *, emalloc(bytes_max + 1))) == NULL)
1538 return makeerror(newch, n, "No buffer, %s", strerror(errno));

Completed in 12 milliseconds