goto end;
}
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
goto end;
}
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
goto end;
}
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
goto end;
}
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
if (sm->next != NULL)
goto end;
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
goto end;
}
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
if (sm->next != NULL)
goto end;
- sm = s->sm_lists[g_http_uri_buffer_id];
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
if (sm->next != NULL)
goto end;
- if (s->sm_lists_tail[g_http_uri_buffer_id] == NULL) {
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
+ if (sm == NULL) {
result = 0;
goto end;
}
-
- sm = s->sm_lists[g_http_uri_buffer_id];
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
if (sm->next != NULL)
goto end;
- if (s->sm_lists_tail[g_http_uri_buffer_id] == NULL) {
+ sm = DetectBufferGetFirstSigMatch(s, g_http_uri_buffer_id);
+ if (sm == NULL) {
result = 0;
goto end;
}
-
- sm = s->sm_lists[g_http_uri_buffer_id];
if (sm->type != DETECT_CONTENT) {
result = 0;
goto end;
goto end;
}
- if (s->sm_lists_tail[g_file_data_buffer_id] == NULL) {
+ sm = DetectBufferGetFirstSigMatch(s, g_file_data_buffer_id);
+ if (sm == NULL) {
goto end;
}
-
- sm = s->sm_lists[g_file_data_buffer_id];
if (sm->type != DETECT_BYTE_EXTRACT) {
- result = 0;
goto end;
}
bed = (DetectByteExtractData *)sm->ctx;