search for: hwaddr_length

Displaying 2 results from an estimated 2 matches for "hwaddr_length".

Did you mean: header_length
2014 Jan 29
2
[Bug 890] New: Bug in ulogd_filter_IP2BIN
https://bugzilla.netfilter.org/show_bug.cgi?id=890 Summary: Bug in ulogd_filter_IP2BIN Product: ulogd Version: SVN (please provide timestamp) Platform: All OS/Version: All Status: NEW Severity: major Priority: P5 Component: ulogd_MYSQL AssignedTo: netfilter-buglog at lists.netfilter.org
2025 Jan 16
0
[Bug 1786] New: ulogd_filter_HWHRD out of bounds array access in hwmac_str
...ere is an out of bounds array access in ulogd_filter_HWHDR.c which leads to ulogd2 being terminated with SIGABRT and the following message when it is compiled with -D_FORTIFY_SOURCE=3: *** buffer overflow detected *** The hwac_str array is defined as: static char hwmac_str[MAX_KEY - START_KEY][HWADDR_LENGTH]; Which translates to: static char hwmac_str[4 - 2][128]; i.e. an array of two elements, valid indexes 0, 1. Adding a debug print statement in the parse_mac2str function: fprintf(stderr, "using hwmac_str index %d\n", okey - START_KEY); will result in the following message:...