Wireshark-commits: [Wireshark-commits] master 26504a0: snort: fix alert rule parsing
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=26504a0024a6fc9a954909959cb3c217a0ceaf66
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
26504a0 by Peter Wu (peter@xxxxxxxxxxxxx):
snort: fix alert rule parsing
Clang warned about casting 'char *' to 'char **' and indeed, the end
pointer should not be stored in the value string that is being parsed.
While at it, the 'rev' parameter was not properly set.
Change-Id: I63c121e54e15bf432a878e289e9ed6547aca375f
Reviewed-on: https://code.wireshark.org/review/34924
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from e60b8d1 dot11decrypt: Shorten the debug macros
add 26504a0 snort: fix alert rule parsing
Summary of changes:
epan/dissectors/snort-config.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)