]> git.ipfire.org Git - thirdparty/suricata.git/commit
src/detect: check DetectBufferSetActiveList return code
authorShivani Bhardwaj <shivanib134@gmail.com>
Sat, 10 Aug 2019 18:05:04 +0000 (23:35 +0530)
committerVictor Julien <victor@inliniac.net>
Tue, 20 Aug 2019 11:56:03 +0000 (13:56 +0200)
commit26bc0d6e1d27c37f0fdf631e9110748b22014e34
tree9f2971ceb7e60ef19f45626156045ef4de552d33
parent15783fb322b8a9ff39f217866197cac1129eeba2
src/detect: check DetectBufferSetActiveList return code

Make sure to always check the return codes of DetectBufferSetActiveList.
Also, force this warning on function prototype.

Closes redmine ticket #3005.
src/detect-engine.h
src/detect-file-data.c
src/detect-http-cookie.c
src/detect-http-stat-code.c
src/detect-http-stat-msg.c
src/detect-http-uri.c