Bug #231 » 0001-Fix-a-segv-if-there-is-an-error-at-libhtp-no-connp.patch
| src/detect-http-method.c | ||
|---|---|---|
|
htp_tx_t *tx = NULL;
|
||
|
int ret = 0;
|
||
|
if (hs == NULL) {
|
||
|
if (hs == NULL || hs->connp == NULL || hs->connp->conn == NULL) {
|
||
|
SCLogDebug("No HTP state.");
|
||
|
SCReturnInt(0);
|
||
|
}
|
||