aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-05-15 11:46:12 +0200
committerJames Bottomley <James.Bottomley@suse.de>2010-05-25 10:59:07 -0500
commit8a52da632ceb9d8b776494563df579e87b7b586b (patch)
tree77f7e2dff5622589749cbbcfec8edb83006c5cab /tools/perf/util/trace-event-scripting.c
parent[SCSI] arcmsr: Support HW reset for EH and polling scheme for scsi device (diff)
downloadlinux-dev-8a52da632ceb9d8b776494563df579e87b7b586b.tar.xz
linux-dev-8a52da632ceb9d8b776494563df579e87b7b586b.zip
[SCSI] aacraid: Eliminate use after free
The debugging code using the freed structure is moved before the kfree. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @free@ expression E; position p; @@ kfree@p(E) @@ expression free.E, subE<=free.E, E1; position free.p; @@ kfree@p(E) ... ( subE = E1 | * E ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions