Commit 000a9a72 authored by Konstantin Komarov's avatar Konstantin Komarov Committed by Greg Kroah-Hartman
Browse files

fs/ntfs3: Check fields while reading



commit 0e8235d2 upstream.

Added new functions index_hdr_check and index_buf_check.
Now we check all stuff for correctness while reading from disk.
Also fixed bug with stale nfs data.

Reported-by: default avatarvan fantasy <g1042620637@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fixes: 82cae269 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf2f2c05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment