Re: [alsa-devel] [PATCH 3/3] sound/pci: Eliminate use after free
4 Apr
2010
4 Apr
'10
12:22 p.m.
At Fri, 2 Apr 2010 14:47:59 +0200 (CEST), Julia Lawall wrote:
From: Julia Lawall julia@diku.dk
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@diku.dk
Applied now. Thanks.
Takashi
5376
Age (days ago)
5376
Last active (days ago)
0 comments
1 participants
participants (1)
-
Takashi Iwai