Home
last modified time | relevance | path

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

/PHP-8.2/ext/phar/
H A Dzip.c172 const char *eocd_start = zend_memnrstr(s, "PK\5\6", sizeof("PK\5\6") - 1, end); in phar_find_eocd() local
174 if (eocd_start == NULL) { in phar_find_eocd()
177 ZEND_ASSERT(eocd_start + sizeof(phar_zip_dir_end) <= s + n); in phar_find_eocd()
178 comment_len = PHAR_GET_16(((phar_zip_dir_end *) eocd_start)->comment_len); in phar_find_eocd()
179 if (eocd_start + sizeof(phar_zip_dir_end) + comment_len == s + n) { in phar_find_eocd()
181 return (char *) eocd_start; in phar_find_eocd()
183 end = eocd_start; in phar_find_eocd()

Completed in 8 milliseconds