Lines Matching refs:pkzh
242 struct pkzip_header *pkzh = (struct pkzip_header *)indata; in check_zip() local
297 } else if (pkzh->magic == 0x04034b50UL) { in check_zip()
300 offset = sizeof(*pkzh); in check_zip()
301 if (pkzh->flags & PK_ENCRYPTED) { in check_zip()
305 if (pkzh->flags & PK_DATADESC) { in check_zip()
309 if (pkzh->flags & PK_UNSUPPORTED) { in check_zip()
315 if (pkzh->method != 8) { in check_zip()
320 offset = sizeof(*pkzh); in check_zip()
322 offset += pkzh->filename_len; in check_zip()
324 offset += pkzh->extra_len; in check_zip()
326 if (offset + pkzh->zbytes > size) { in check_zip()
331 *zbytes_p = pkzh->zbytes; in check_zip()
332 *dbytes_p = pkzh->dbytes; in check_zip()
333 *orig_crc = pkzh->crc; in check_zip()