Displaying 2 results from an estimated 2 matches for "ulogd_log".
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
...enough space for the values (and quotes around strings) */
+ if(key->type == ULOGD_RET_STRING) {
+ /* SQL_STRINGSIZE is the max (VAR)CHAR length, *2 in case every of
its characters would be escaped and +3 for the quotes around the string and the
comma at the end */
+ ulogd_log(ULOGD_DEBUG, "allocating %d bytes for string %s of type
%s", (SQL_STRINGSIZE * 2) + 3, key->name, type_to_string(key->type));
+ size += (SQL_STRINGSIZE * 2) + 3;
+ } else {
+ /* key_length is the maximum strlen for the specified integer type
(ex: ULOGD_R...
2011 Aug 28
3
[Bug 741] New: ULOGD segfaults on init
http://bugzilla.netfilter.org/show_bug.cgi?id=741
Summary: ULOGD segfaults on init
Product: ulogd
Version: SVN (please provide timestamp)
Platform: i386
OS/Version: other
Status: NEW
Severity: blocker
Priority: P5
Component: ulogd_MYSQL
AssignedTo: netfilter-buglog at lists.netfilter.org