Skip to content

Commit

Permalink
Merge pull request #258 from flaviojs/fix-infinite-loop-sbox_compute
Browse files Browse the repository at this point in the history
Fix infinite loop in sbox_compute.
  • Loading branch information
grossmj authored Oct 5, 2024
2 parents fcfe8c8 + d4a72ad commit 113fdc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/sbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ static inline m_uint32_t sbox_compute(m_uint8_t *data,int len)
hash ^= sbox_array[*data];
hash *= 3;
data++;
len--;
}

return(hash);
Expand Down

0 comments on commit 113fdc5

Please sign in to comment.