diff options
author | 诟屍 <hi@goushi.me> | 2018-09-11 16:46:13 +0800 |
---|---|---|
committer | simonemainardi <simonemainardi@gmail.com> | 2018-09-11 10:46:13 +0200 |
commit | adcb82d2b528a24d834c6b9ebb183a7261401afd (patch) | |
tree | 18fbb4ab4f1b4d8540ce8e441b06974172ff9405 /src/lib/protocols/smb.c | |
parent | 6ac83ce7eb9961785bb2b7ba4c3788524591b30f (diff) |
parse protocol's string_to_match into hex which could be match by hyperscan (#589)
* if one protocol do not have it's regex (pattern_to_match)
then parse it's string (string_to_match) into hex
so we can match every protocol with hyperscan
* fix string2hex()
* fix init_hyperscan():
check return value of string2hex()
Diffstat (limited to 'src/lib/protocols/smb.c')
0 files changed, 0 insertions, 0 deletions