[PATCH 0/1] fs/squashfs: Fix Coverity Scan defects

Joao Marcos Costa joaomarcos.costa at bootlin.com
Wed Aug 19 18:28:40 CEST 2020


Hello,

The following patch fixes most of the defects pointed by Coverity Scan. It
depends on the previous patch series adding new decompression algorithms. Some
of the defects may be out of SquashFS scope, because they come from a Linux's
macro, but sanity checks were added as a possible solution for these tainted
values. Please do not hesitate to report any remaining issues.

Best regards,
Joao

Joao Marcos Costa (1):
  fs/squashfs: Fix Coverity Scan defects

 fs/squashfs/sqfs.c       | 40 +++++++++++++++++++++++++++++-----------
 fs/squashfs/sqfs_dir.c   |  3 +++
 fs/squashfs/sqfs_inode.c |  5 ++++-
 3 files changed, 36 insertions(+), 12 deletions(-)

-- 
2.17.1



More information about the U-Boot mailing list