Re: [PATCH] dell-wmi: Fix access out of memory
From: Pali RohÃr
Date: Sun Oct 12 2014 - 12:45:16 EST
On Tuesday 30 September 2014 01:16:23 Darren Hart wrote:
> On September 29, 2014 4:26:03 PM PDT, "Rafael J. Wysocki"
<rjw@xxxxxxxxxxxxx> 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@xxxxxxxxx>
> >>
> >> 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@xxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part.