summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1201.h
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-22 21:30:59 +0100
committerDan Williams <dan.j.williams@intel.com>2009-12-22 23:30:08 +0100
commit0794ec8ce327ec74416b569b8fb1951274693700 (patch)
tree4e6a59cdf0c13005d22165932b82acf1213bc937 /drivers/net/wireless/zd1201.h
parentdrivers/dma: drop unnecesary memset (diff)
downloadlinux-0794ec8ce327ec74416b569b8fb1951274693700.tar.xz
linux-0794ec8ce327ec74416b569b8fb1951274693700.zip
drivers/dma: Correct use after free
Move the kfree after the iounmap that refers to the same structure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,e; identifier f; iterator I; statement S; @@ *kfree(x); ... when != &x when != x = e when != I(x,...) S *x->f // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/net/wireless/zd1201.h')
0 files changed, 0 insertions, 0 deletions