Displaying 2 results from an estimated 2 matches for "ulogd_key".
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
       
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
...replaced with NULL if longer
*/
+#define SQL_STRINGSIZE    255
 /* create the static part of our insert statement */
 static int sql_createstmt(struct ulogd_pluginstance *upi)
@@ -78,13 +79,35 @@
     for (i = 0; i < upi->input.num_keys; i++) {
         if (upi->input.keys[i].flags & ULOGD_KEYF_INACTIVE)
             continue;
+
+        struct ulogd_key *key = upi->input.keys[i].u.source;
+        short key_length = 4;
+
         /* we need space for the key and a comma, as well as
-         * enough space for the values */
-        size += strlen(upi->input.keys[i].name) + 1 + SQ...