Re: [PATCH] ACPI: Fix memory leak in acpi_ev_asynch_execute_gpe_method().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 16 Jan 2011, Rafael J. Wysocki wrote:

> On Sunday, January 16, 2011, Jesper Juhl wrote:
> > We will leak the memory allocated to 'local_gpe_event_info' if 
> > 'acpi_ut_acquire_mutex()' fails or if 'acpi_ev_valid_gpe_event()' fails in 
> > drivers/acpi/acpica/evgpe.c::acpi_ev_asynch_execute_gpe_method().
> > 
> > Signed-off-by: Jesper Juhl <jj@xxxxxxxxxxxxx>
> 
> Good catch!  How did you find it?
> 

This one was found with the help of Coverity prevent.


> Reviewed-by: Rafael Wysocki <rjw@xxxxxxx>
> 
> Len, please apply and push to Linus ASAP.
> 
> Thanks,
> Rafael
> 

-- 
Jesper Juhl <jj@xxxxxxxxxxxxx>            http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux