[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <27d6898b-5074-a055-c54a-8191bf8cafa6@iogearbox.net>
Date: Thu, 1 Feb 2018 11:24:30 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>,
alexei.starovoitov@...il.com
Cc: dan.carpenter@...cle.com, netdev@...r.kernel.org,
oss-drivers@...ronome.com
Subject: Re: [PATCH bpf-next] netdevsim: fix overflow on the error path
On 01/27/2018 04:50 AM, Jakub Kicinski wrote:
> Undo loop condition on the error path would cause the i counter
> to go below zero, if allocation failure happened with the first
> (i.e. 0th) element of the array.
>
> Fixes: 395cacb5f1a0 ("netdevsim: bpf: support fake map offload")
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Now that Linus has pulled everything, and we fast-forwarded bpf, applied
to bpf tree, thanks Jakub!
Powered by blists - more mailing lists