Commit 0ee75a67 authored by Konstantin Komarov's avatar Konstantin Komarov Committed by Lee Jones
Browse files

UPSTREAM: 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.

Bug: 286390611
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>
(cherry picked from commit 000a9a72)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I2b17511acdef8617aea3fecb45d2f11e49145097
parent 6eb48b89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment