fs/ntfs3: Check fields while reading

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: van fantasy <g1042620637@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2022-10-10 13:15:33 +03:00
commit 0e8235d28f
No known key found for this signature in database
GPG key ID: A9B0331F832407B6
5 changed files with 164 additions and 58 deletions