Skip to content

fs/squashfs: Fix Coverity Scan defects

Joao Marcos Costa u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1fs/squashfs: Fix Coverity Scan defectsfs/squashfs/sqfs.c fs/squashfs/sqfs_dir.c fs/squashfs/sqfs_inode.c+36 -121 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.17.1