mbox series

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

Message ID 20200819162841.23955-1-joaomarcos.costa@bootlin.com
Headers show
Series fs/squashfs: Fix Coverity Scan defects | expand

Message

Joao Marcos Costa Aug. 19, 2020, 4:28 p.m. UTC
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(-)