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:
37e6ba0
)
[SCSI] zfcp: fix kfree handling in zfcp_init_device_setup
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Tue, 13 Oct 2009 08:44:07 +0000
(10:44 +0200)
committer
James Bottomley
<James.Bottomley@suse.de>
Thu, 22 Oct 2009 00:38:42 +0000
(09:38 +0900)
The pointer that is allocated with kmalloc() is passed to strsep()
which modifies it. Later on the modified pointer value will be passed
to kfree. Save the original pointer and pass that one to kfree
instead.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
No differences found