* [patch 2/4] skd: use after free bugs in debug code
@ 2013-09-13 7:56 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2013-09-13 7:56 UTC (permalink / raw)
To: Jens Axboe
Cc: Jeff Moyer, Ramprasad Chinthekindi, Akhil Bhansali, linux-kernel,
kernel-janitors
We've freed "skdev" but the debug code dereferences it. I've just
removed the printk() entirely.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index dfd05a9..f892d95 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -4919,8 +4919,6 @@ static void skd_destruct(struct skd_device *skdev)
VPRINTK(skdev, "skdev\n");
kfree(skdev);
-
- DPRINTK(skdev, "VICTORY\n");
}
static void skd_free_skcomp(struct skd_device *skdev)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-13 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 7:56 [patch 2/4] skd: use after free bugs in debug code Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox