issues
search
ostafen
/
smart
String Matching Algorithms Research Tool
https://smart-tool.github.io/smart/
GNU General Public License v3.0
4
stars
2
forks
source link
Fix BSDM algos.
#45
Closed
nishihatapalmer
closed
1 year ago
nishihatapalmer
commented
1 year ago
BSDM6 was allocating too small a buffer, overwriting memory and causing an infinite loop when it randomly set len to zero.
All the other algorithms are allocating too much memory on average. The max it needs for DSIGMA is the largest value returned by the HS hash function.
Remove unused variable B and a couple of others from the code.