linux/fs/ntfs3/index.c
Konstantin Komarov 194491be54
fs/ntfs3: Fix memory leak in indx_find_sort()
When popping a level from the index lookup stack, indx_find_sort() frees
the struct indx_node but not the index buffer it owns. Every call that
descends and then pops a level leaks that allocation.

Free n->index before freeing the node itself.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
2026-07-30 10:49:41 +02:00

2835 lines
60 KiB