fixed size of tmp to be checked on static huffman inflate
This commit is contained in:
@@ -570,9 +570,9 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -725,7 +725,7 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
@@ -951,7 +951,7 @@ KERNEL_FQ void m17200_mxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
|
||||
@@ -568,9 +568,9 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -727,7 +727,7 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
@@ -957,7 +957,7 @@ KERNEL_FQ void m17200_mxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
|
||||
@@ -569,9 +569,9 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -740,7 +740,7 @@ KERNEL_FQ void m17200_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
@@ -982,7 +982,7 @@ KERNEL_FQ void m17200_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) continue;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) continue;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) continue;
|
||||
|
||||
mz_stream infstream;
|
||||
|
||||
@@ -261,9 +261,9 @@ KERNEL_FQ void m17210_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -259,9 +259,9 @@ KERNEL_FQ void m17210_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -259,9 +259,9 @@ KERNEL_FQ void m17210_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
const u32 search[4] =
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -721,7 +721,7 @@ KERNEL_FQ void m17220_sxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
@@ -986,7 +986,7 @@ KERNEL_FQ void m17220_mxx (KERN_ATTR_RULES_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
|
||||
@@ -721,7 +721,7 @@ KERNEL_FQ void m17220_sxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
@@ -988,7 +988,7 @@ KERNEL_FQ void m17220_mxx (KERN_ATTR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
|
||||
@@ -733,7 +733,7 @@ KERNEL_FQ void m17220_sxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
@@ -1012,7 +1012,7 @@ KERNEL_FQ void m17220_mxx (KERN_ATTR_VECTOR_ESALT (pkzip_t))
|
||||
update_key012 (key0, key1, key2, plain, l_crc32tab);
|
||||
}
|
||||
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 36)) break;
|
||||
if (((tmp[0]) & 6) == 2 && !check_inflate_code1 (tmp, 24)) break;
|
||||
if (((tmp[0]) & 6) == 4 && !check_inflate_code2 (tmp)) break;
|
||||
|
||||
if (esalt_bufs[digests_offset].hashes[idx].data_type_enum == 1)
|
||||
|
||||
Reference in New Issue
Block a user