[PATCH v2 1/1] fs/squashfs: avoid illegal free() in sqfs_opendir()
    Tom Rini 
    trini at konsulko.com
       
    Tue Apr 22 15:58:43 CEST 2025
    
    
  
On Mon, 14 Apr 2025 15:19:24 +0200, Heinrich Schuchardt wrote:
> * Use calloc() to allocate token_list. This avoids an illegal free if
>   sqfs_tokenize() fails.
> * Do not iterate over token_list if it has not been allocated.
> 
> 
Applied to u-boot/master, thanks!
[1/1] fs/squashfs: avoid illegal free() in sqfs_opendir()
      commit: 185fdf5e94731df05748b1c576effb52ff7a3ec5
-- 
Tom
    
    
More information about the U-Boot
mailing list