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:van fantasy <g1042620637@gmail.com> Signed-off-by:
Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Fixes: 82cae269 ("fs/ntfs3: Add initialization of super block") Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 000a9a72) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I2b17511acdef8617aea3fecb45d2f11e49145097
Loading
Please sign in to comment