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:
65eddb5
)
ext4: avoid clearing beyond i_blocks when truncating an inline data file
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 7 Jan 2014 17:58:19 +0000
(12:58 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 7 Jan 2014 17:58:19 +0000
(12:58 -0500)
A missing cast means that when we are truncating a file which is less
than 60 bytes, we don't clear the correct area of memory, and in fact
we can end up truncating the next inode in the inode table, or worse
yet, some other kernel data structure.
Addresses-Coverity-Id: #751987
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/inline.c
patch
|
blob
|
history
diff --cc
fs/ext4/inline.c
Simple merge