Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set pattern ID type in AhoCorasickPlus::addPattern
Else there's potential for invalid memory accesses, e.g. if the memory for pattern ID type happens to be equal to the "string" ID type and then it accesses the associated union field which hasn't been initialized.
- Loading branch information