Files
u-boot/fs
Andrea della Porta e22b2d7781 fs/squashfs: Fix memory leak in sqfs_size_nest()
In case MAX_SYMLINK_NEST is reached while determining the size
on a symlink node, the function returns immediately.
This would not free the resources after the free_strings: label
causing a memory leak.

Set the ret value and just break out of the switch to fix this.

Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
2025-03-05 12:14:31 -06:00
..
2024-11-13 08:18:50 -06:00
2024-10-11 11:44:48 -06:00
2024-07-15 12:12:17 -06:00
2024-10-11 11:44:48 -06:00
2024-07-15 12:12:17 -06:00
2024-12-30 13:21:55 -06:00
2025-01-20 08:32:48 -06:00
2025-01-20 08:32:48 -06:00