aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2010-04-02 12:47:59 +0000
committerTakashi Iwai <[email protected]>2010-04-04 10:21:42 +0000
commita0fd4345f928d72a56e27b23e4cd28c94bf36be5 (patch)
treec4eb9cbfebfb66bd68ab4070285f9f1920dd4627 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentALSA: i2c: cleanup: change parameter to pointer (diff)
downloadkernel-a0fd4345f928d72a56e27b23e4cd28c94bf36be5.tar.gz
kernel-a0fd4345f928d72a56e27b23e4cd28c94bf36be5.zip
ALSA: echoaudio - Eliminate use after free
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 <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions