Make sure we have a response message before inspecting it in http_stat_msg.

remotes/origin/master-1.1.x
Victor Julien 15 years ago
parent 07ec1ee10e
commit 966c7349d3

@ -131,6 +131,9 @@ int DetectHttpStatMsgMatch (ThreadVars *t, DetectEngineThreadCtx *det_ctx,
if (tx == NULL)
continue;
if (tx->response_message == NULL)
continue;
SCLogDebug("we have a response message");
/* call the case insensitive version if nocase has been specified in the sig */

Loading…
Cancel
Save