Fix use of possibly uninitialised memory
This commit is contained in:
parent
57a3b4e990
commit
20c8578084
@ -2924,7 +2924,7 @@ json_rpc_call_raw (struct app_context *ctx,
|
||||
if (error)
|
||||
return error;
|
||||
|
||||
maybe_print_verbose (ctx, ATTR_INCOMING, buf->str, buf->len);
|
||||
maybe_print_verbose (ctx, ATTR_INCOMING, buf->str, buf->len + 1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user