[PATCH v2 19/28] fs/squashfs: sqfs_get_abs_path: fix possible memory leak on error

Tom Rini trini at konsulko.com
Fri Nov 20 02:38:02 CET 2020


On Tue, Nov 03, 2020 at 12:11:17PM +0100, Richard Genoud wrote:

> if  sqfs_tokenize(rel_tokens, rc, rel); fails, the function exits
> without freeing the array base_tokens.
> 
> Reviewed-by: Joao Marcos Costa <jmcosta944 at gmail.com>
> Signed-off-by: Richard Genoud <richard.genoud at posteo.net>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201119/8f322bed/attachment.sig>


More information about the U-Boot mailing list