diff options
author | Dan Carpenter <[email protected]> | 2009-02-20 15:38:46 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-20 17:57:49 -0800 |
commit | b28fe28f2a07ee325834179174a95495d2786561 (patch) | |
tree | ee886216933e5578dcf9d034a166f183fdf67cc3 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 9b6d25100ace1dcf9750803ff08f6b61f840be79 (diff) |
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 <[email protected]>
Cc: Ilpo Järvinen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions