aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-02-20 15:38:46 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-20 17:57:49 -0800
commitb28fe28f2a07ee325834179174a95495d2786561 (patch)
treeee886216933e5578dcf9d034a166f183fdf67cc3 /lib
parentsx.c: fix dbl statement if - add missing braces (diff)
downloadlinux-dev-b28fe28f2a07ee325834179174a95495d2786561.tar.xz
linux-dev-b28fe28f2a07ee325834179174a95495d2786561.zip
sx.c: avoid referencing freed memory if copy_from_user() fails
The "break" would just result in reusing a free'd pointer. I don't have the cards myself to test it though. :/ Signed-off-by: Dan Carpenter <error27@gmail.com> Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions