From: Colin King <hidden> Date: 2016-05-05 22:39:39
From: Colin Ian King <redacted>
klogctl can fail and return -ve len, so check for this and
return NULL to avoid passing a (size_t)-1 to malloc.
Signed-off-by: Colin Ian King <redacted>
---
tools/net/bpf_jit_disasm.c | 3 +++
1 file changed, 3 insertions(+)
From: Daniel Borkmann <daniel@iogearbox.net> Date: 2016-05-05 22:47:16
On 05/06/2016 12:39 AM, Colin King wrote:
From: Colin Ian King <redacted>
klogctl can fail and return -ve len, so check for this and
return NULL to avoid passing a (size_t)-1 to malloc.
Signed-off-by: Colin Ian King <redacted>
[ would be nice to get Cc'ed in future ... ]
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
From: David Miller <davem@davemloft.net> Date: 2016-05-09 03:33:35
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Fri, 06 May 2016 00:46:56 +0200
On 05/06/2016 12:39 AM, Colin King wrote:
quoted
From: Colin Ian King <redacted>
klogctl can fail and return -ve len, so check for this and
return NULL to avoid passing a (size_t)-1 to malloc.
Signed-off-by: Colin Ian King <redacted>
[ would be nice to get Cc'ed in future ... ]
Acked-by: Daniel Borkmann <daniel@iogearbox.net>