lkml.org 
[lkml]   [2016]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] tools: bpf_jit_disasm: check for klogctl failure
From
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:
>> From: Colin Ian King <colin.king@canonical.com>
>>
>> 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>
>
> [ would be nice to get Cc'ed in future ... ]
>
> Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Applied.

\
 
 \ /
  Last update: 2016-05-09 06:01    [W:0.044 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site