Colin Ian King 25a54342fd tools: bpf_jit_disasm: check for klogctl failure
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 <colin.king@canonical.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-08 23:32:59 -04:00
..
2015-08-26 06:12:35 +02:00
2016-04-19 08:41:59 +02:00
2014-07-23 10:16:38 -07:00
2015-10-22 17:19:33 -07:00
2016-03-02 17:01:57 +02:00