projects
/
wrapfs-2.6.32.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d22e4c7
)
cciss: Fix misapplied "cciss: fix info leak in cciss_ioctl32_passthru()"
author
Ben Hutchings
<ben@decadent.org.uk>
Sun, 7 Dec 2014 19:57:15 +0000
(19:57 +0000)
committer
Willy Tarreau
<w@1wt.eu>
Sat, 13 Dec 2014 14:16:20 +0000
(15:16 +0100)
Upstream commit
58f09e00ae09
was applied to the wrong function when
cherry-picked for 2.6.32.61.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/block/cciss.c
patch
|
blob
|
history
diff --git
a/drivers/block/cciss.c
b/drivers/block/cciss.c
index b2225ab0d604e525dd7244c2a78f72465c4b066f..d4d165a8963ebdd03fb0c85b92639ce921800898 100644
(file)
--- a/
drivers/block/cciss.c
+++ b/
drivers/block/cciss.c
@@
-1011,6
+1011,7
@@
static int cciss_ioctl32_passthru(struct block_device *bdev, fmode_t mode,
int err;
u32 cp;
+ memset(&arg64, 0, sizeof(arg64));
err = 0;
err |=
copy_from_user(&arg64.LUN_info, &arg32->LUN_info,
@@
-1051,7
+1052,6
@@
static int cciss_ioctl32_big_passthru(struct block_device *bdev, fmode_t mode,
int err;
u32 cp;
- memset(&arg64, 0, sizeof(arg64));
err = 0;
err |=
copy_from_user(&arg64.LUN_info, &arg32->LUN_info,