Konstantin Komarov 333feb7ba8 fs/ntfs3: Check fields while reading
commit 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b 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: van fantasy <g1042620637@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fixes: 82cae269cfa95 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-23 13:47:46 +02:00
..
2023-01-12 11:58:43 +01:00
2021-10-11 19:28:04 +03:00
2023-07-23 13:47:46 +02:00
2023-07-23 13:47:46 +02:00
2023-07-23 13:47:46 +02:00
2023-07-23 13:47:46 +02:00
2023-07-23 13:47:46 +02:00