summaryrefslogtreecommitdiffstats
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorVahram Martirosyan <vmartirosyan@gmail.com>2012-11-28 18:44:16 +0100
committerTheodore Ts'o <tytso@mit.edu>2012-11-28 18:44:16 +0100
commit766f44d46a726cb59f52a75c5c87425a10c4bade (patch)
tree33aa0c54b0ad7dd3aa6036f4a6351827275286f1 /fs/direct-io.c
parentext4: simple cleanup in fiemap codepath (diff)
downloadlinux-766f44d46a726cb59f52a75c5c87425a10c4bade.tar.xz
linux-766f44d46a726cb59f52a75c5c87425a10c4bade.zip
ext4: fixed potential NULL dereference in ext4_calculate_overhead()
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>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions