On 05/06/2016 12:39 AM, Colin King wrote:
From: Colin Ian King <[email protected]>

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 <[email protected]>

[ would be nice to get Cc'ed in future ... ]

Acked-by: Daniel Borkmann <[email protected]>

Reply via email to