[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160508.233331.1216073258499869420.davem@davemloft.net>
Date: Sun, 08 May 2016 23:33:31 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: colin.king@...onical.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools: bpf_jit_disasm: check for klogctl failure
From: Daniel Borkmann <daniel@...earbox.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@...onical.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@...onical.com>
>
> [ would be nice to get Cc'ed in future ... ]
>
> Acked-by: Daniel Borkmann <daniel@...earbox.net>
Applied.
Powered by blists - more mailing lists