[PATCH] squashfs: Fix heap corruption in sqfs_search_dir()

Tom Rini trini at konsulko.com
Fri Aug 16 05:47:28 CEST 2024


On Fri, 02 Aug 2024 22:05:09 +0200, Richard Weinberger wrote:

> res needs to be large enough to store both strings rem and target,
> plus the path separator and the terminator.
> Currently the space for the path separator is not accounted, so
> the heap is corrupted by one byte.
> 
> 

Applied to u-boot/next, thanks!

-- 
Tom




More information about the U-Boot mailing list