Displaying 1 result from an estimated 1 matches for "ulogd_error".
Did you mean:
log_error
2017 Oct 19
0
[Bug 1193] New: Incorrect malloc for SQL statements and missing strings length check
...lowest value is -2147483648 which is 11 characters long)
*/
+ key_length = ulogd_key_size(key);
+ if(key_length < 1) {
+ /* ulogd_key_size() returns -1 for key types it does not know
*/
+ key_length = SQL_STRINGSIZE;
+ ulogd_log(ULOGD_ERROR, "%s key length cannot be determined,
forced to %hd bytes", upi->input.keys[i].name, key_length);
+ } else {
+ key_length = 10*key_length*8/33+2;
+ }
+ ulogd_log(ULOGD_DEBUG, "allocating %hd bytes for int %s of type
%s", key_len...