git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b6d251
)
sx.c: avoid referencing freed memory if copy_from_user() fails
author
Dan Carpenter
<error27@gmail.com>
Fri, 20 Feb 2009 23:38:46 +0000
(15:38 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 21 Feb 2009 01:57:49 +0000
(17:57 -0800)
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>
No differences found