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:
0634867
)
ext4: fixed potential NULL dereference in ext4_calculate_overhead()
author
Vahram Martirosyan
<vmartirosyan@gmail.com>
Wed, 28 Nov 2012 17:44:16 +0000
(12:44 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Wed, 28 Nov 2012 17:44:16 +0000
(12:44 -0500)
The memset operation before check can cause a BUG if the memory
allocation failed. Since we are using get_zeroed_age, there is no
need to use memset anyway.
Found by the Spruce system in cooperation with the KEDR Framework.
Signed-off-by: Vahram Martirosyan <vmartirosyan@linuxtesting.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
No differences found