search for: type_to_str

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

Did you mean: type_to_sql
2017 Oct 19
0
[Bug 1192] New: ULOGD_RET_RAWSTR type is not listed on ulogd_key_size() and type_to_string()
https://bugzilla.netfilter.org/show_bug.cgi?id=1192 Bug ID: 1192 Summary: ULOGD_RET_RAWSTR type is not listed on ulogd_key_size() and type_to_string() Product: ulogd Version: SVN (please provide timestamp) Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: ulogd Assignee: netfilter-buglog at lists.netfilter.org...
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
...* 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_RET_INT32 lowest value is -2147483648 which is 11 characters long) */ + key_length = ulogd_key_size(key); +...