Skip to content

Commit

Permalink
lib/x86/adler32: fix wrong array length in adler32_sse2_chunk()
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed Mar 2, 2024
1 parent 190a44c commit 677ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/x86/adler32_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
static forceinline ATTRIBUTES void
adler32_sse2_chunk(const __m128i *p, const __m128i *const end, u32 *s1, u32 *s2)
{
static const u16 _aligned_attribute(16) mults[4][16] = {
static const u16 _aligned_attribute(16) mults[4][8] = {
{ 32, 31, 30, 29, 28, 27, 26, 25 },
{ 24, 23, 22, 21, 20, 19, 18, 17 },
{ 16, 15, 14, 13, 12, 11, 10, 9 },
Expand Down

0 comments on commit 677ebe7

Please sign in to comment.