Re: [Bugme-new] [Bug 9596] New: NULL pointer dereference on drivers/usb/misc/auerswald.c

Andrew Morton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Mon, 17 Dec 2007 22:27:07 -0800 (PST) [email protected] wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=9596
> 
>            Summary: NULL pointer dereference on drivers/usb/misc/auerswald.c
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.23
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: low
>           Priority: P1
>          Component: USB
>         AssignedTo: [email protected]
>         ReportedBy: [email protected]
> 
> 
> This is a low severity error, since there's a null pointer dereference
> only in case kzalloc fails to allocate memory.
> 
> (1) line 762: !bep is true => bep is null
> (2) goto bl_fail
> (3) line 781: calling auerbuf_free(bep) with bep null, but such function
>     does not handle a null argument:
> 
> /* free a single auerbuf */
> static void auerbuf_free (pauerbuf_t bp)
> {
>         kfree(bp->bufp);
>         ...
> 
> 
> -- 
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.