-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: Potential out of bounds read in SIMD scanners
The previous code did not correctly account for the initial match of the first byte of the pattern moving the match pointer of up to ('RegisterLength' - 1). This code accounts for this with `(patternVectors.Length + 1) * (RegisterLength)`
- Loading branch information
Sewer56
committed
Aug 2, 2024
1 parent
9760d49
commit 2ddbb2e
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters