Messages in this thread | | | From | Pali Rohár <> | Subject | Re: [PATCH] dell-wmi: Fix access out of memory | Date | Sun, 12 Oct 2014 18:45:06 +0200 |
| |
On Tuesday 30 September 2014 01:16:23 Darren Hart wrote: > On September 29, 2014 4:26:03 PM PDT, "Rafael J. Wysocki" <rjw@rjwysocki.net> wrote: > >On Monday, September 29, 2014 02:30:29 PM Darren Hart wrote: > >> On Mon, Sep 29, 2014 at 03:10:51PM +0200, Pali Rohár wrote: > >> > Without this patch driver dell-wmi is trying to access > >> > elements of > > > >dynamically > > > >> > allocated array without checking array size. This can > >> > lead to > > > >memory corruption > > > >> > or kernel panic. This patch adds missing checks for array > >> > size. > >> > > >> > Signed-off-by: Pali Rohár <pali.rohar@gmail.com> > >> > >> Looks good to me. Rafael, any concerns? > > > >Not anything obvious. > > Queued, thanks. > > >> Cc: linux-acpi > > > >Thanks! > >
Now I see that this patch is in linus tree. Can you sent it to stable trees too?
-- Pali Rohár pali.rohar@gmail.com [unhandled content-type:application/pgp-signature] | |