u-boot/fs
Heinrich Schuchardt 185fdf5e94 fs/squashfs: avoid illegal free() in sqfs_opendir()
* 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.

Addresses-Coverity-ID: 510453:  Null pointer dereferences  (FORWARD_NULL)
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
2025-04-21 11:08:03 -06:00
..
btrfs fs: btrfs: hide duplicate 'Cannot lookup file' error on 'load' 2024-11-15 13:11:47 -06:00
cbfs Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cramfs fs/cramfs: use schedule instead of cyclic_run as callback 2024-10-23 06:52:38 +02:00
erofs fs/erofs: fix an integer overflow in symlink resolution 2025-02-18 12:32:07 -06:00
exfat fs: exfat: Implement trivial 'rename' support 2025-04-21 11:07:04 -06:00
ext4 fs: ext4: correct error handling 2024-11-13 08:18:50 -06:00
fat Kbuild: Always use $(PHASE_) 2025-04-11 12:16:44 -06:00
jffs2 fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
sandbox global: Rename SPL_TPL_ to PHASE_ 2024-10-11 11:44:48 -06:00
squashfs fs/squashfs: avoid illegal free() in sqfs_opendir() 2025-04-21 11:08:03 -06:00
ubifs fs: ubifs: Remove unnecessary assignment 2025-01-28 06:44:18 +01:00
zfs fs: Remove duplicate newlines 2024-07-15 12:12:17 -06:00
fs_internal.c fs: Add generic fs_devread() implementation 2025-04-02 20:00:59 -06:00
fs.c fs: exfat: Implement trivial 'rename' support 2025-04-21 11:07:04 -06:00
Kconfig fs: exfat: Add U-Boot porting layer 2025-04-02 20:00:59 -06:00
Makefile fs: exfat: Add U-Boot porting layer 2025-04-02 20:00:59 -06:00
semihostingfs.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00