Project

General

Profile

Actions

Bug #538

closed

Feature #775: libhtp 0.5 support

suricata 1.3.1 fails to build when libhtp >= 0.3 is installed

Added by Ryan Steinmetz about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

libhtp's table_getc() was renamed to table_get_c() in libhtp >= 0.3. This causes build failures whenever suricata is configured with --enable-non-bundled-htp.

The attached patch works around this issue, however, assumes that 0.3 is installed. The ideal solution would likely involve auto* checking to see if table_getc/table_get_c exists in the libhtp headers and defines the workaround if needed.


Files

Actions

Also available in: Atom PDF