diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-01-30 11:29:47 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-31 20:48:15 +0100 |
commit | 9b00b4157f7b3265de291ac8979a5f1611ce64ab (patch) | |
tree | 88e0fda1bbae8516a89695cdefa30289e66555f6 /drivers/net/davinci_cpdma.c | |
parent | ath9k: Fix power save usage count imbalance on deinit (diff) | |
download | linux-9b00b4157f7b3265de291ac8979a5f1611ce64ab.tar.xz linux-9b00b4157f7b3265de291ac8979a5f1611ce64ab.zip |
wl12xx: fix use after free
When DEBUG_SPI is included in the debug log level wl1271_spi_reset()
will dump the already freed memory instead of the SPI buffer.
This bug was spotted by the semantic patch tool coccinelle using the
script found at scripts/coccinelle/free/kfree.cocci.
More information about semantic patching is available at
http://coccinelle.lip6.fr/
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/davinci_cpdma.c')
0 files changed, 0 insertions, 0 deletions