Skip to content
Commit c16831b4 authored by Manish Katiyar's avatar Manish Katiyar Committed by Jan Kara
Browse files

ext2: Zero our b_size in ext2_quota_read()



ext2_quota_read() doesn't initialize tmp_bh.b_size before calling
ext2_get_block() where we access it. Since it is a local variable it
might contain some garbage. Make sure it is filled with reasonable
value before passing.

Signed-off-by: default avatarManish Katiyar <mkatiyar@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 620372a9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment