search for: parse_mac2str

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

2025 Jan 16
0
[Bug 1786] New: ulogd_filter_HWHRD out of bounds array access in hwmac_str
...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: using hwmac_str index 2 So the for loop attempts to format the mac address in to an invalid index in hwmac_str. As a simple test I made the definition of hwmac_str a...
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