[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQL+zgLbsAcLv-qSFmUi9yOy0qB9m-hO75E53fXu6yL6hA@mail.gmail.com>
Date: Sat, 22 Nov 2014 10:45:51 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] bpf: null dereference allocating large arrays
On Sat, Nov 22, 2014 at 10:30 AM, Dan Carpenter
<dan.carpenter@...cle.com> wrote:
> There is a typo here, "array" is null so we can't dereference it and
> also the size calculation should match the kzalloc() on the lines
> before.
Not sure what tree you're looking at...
it was more than typo, but it was fixed 4 days ago.
See commit daaf427c6ab39 ("bpf: fix arraymap NULL deref and missing
overflow and zero size checks")
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists