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:
e801e12
)
UBI: fix use-after-free on error path
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Thu, 5 Jan 2012 08:47:18 +0000
(10:47 +0200)
committer
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Thu, 5 Jan 2012 09:19:19 +0000
(11:19 +0200)
When we fail to erase a PEB, we free the corresponding erase entry object,
but then re-schedule this object if the error code was something like -EAGAIN.
Obviously, it is a bug to use the object after we have freed it.
Reported-by: Emese Revfy <re.emese@gmail.com>
Cc: stable@kernel.org [v2.6.23+]
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
No differences found