|
|
|
@ -769,7 +769,7 @@ KERNEL_FQ void m17220_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
|
|
|
|
ret = hc_inflate (&infstream);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (ret != MZ_STREAM_END) break; // failed to inflate
|
|
|
|
|
if (ret != MZ_STREAM_END || infstream.total_out != esalt_bufs[DIGESTS_OFFSET].hashes[idx].uncompressed_length) break;
|
|
|
|
|
|
|
|
|
|
// we check the crc32, but it might not necessarily be the last one (depending how strict
|
|
|
|
|
if ((~infstream.crc32) == esalt_bufs[DIGESTS_OFFSET].hashes[idx].crc32)
|
|
|
|
@ -1048,7 +1048,7 @@ KERNEL_FQ void m17220_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
|
|
|
|
ret = hc_inflate (&infstream);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (ret != MZ_STREAM_END) break; // failed to inflate
|
|
|
|
|
if (ret != MZ_STREAM_END || infstream.total_out != esalt_bufs[DIGESTS_OFFSET].hashes[idx].uncompressed_length) break;
|
|
|
|
|
|
|
|
|
|
// we check the crc32, but it might not necessarily be the last one (depending how strict
|
|
|
|
|
if ((~infstream.crc32) == esalt_bufs[DIGESTS_OFFSET].hashes[idx].crc32)
|
|
|
|
|