Re: [PATCH 3/3] sound/pci: Eliminate use after free

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

 



At Fri, 2 Apr 2010 14:47:59 +0200 (CEST),
Julia Lawall wrote:
> 
> From: Julia Lawall <julia@xxxxxxx>
> 
> Use the call to snd_card_free in the error handling code at the end of the
> function, as in the other error cases.
> 
> A simplified version of the semantic patch that finds this problem is as
> follows: (http://coccinelle.lip6.fr/)
> 
> // <smpl>
> @@
> expression E,E2;
> @@
> 
> snd_card_free(E)
> ...
> (
>   E = E2
> |
> * E
> )
> // </smpl>
> 
> Signed-off-by: Julia Lawall <julia@xxxxxxx>

Applied now.  Thanks.


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

[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux