[PATCH v1 0/7] Misc fixes in erofs-utils

Sandeep Dhavale dhavale at google.com
Thu Sep 14 08:10:57 AEST 2023


Hi,
Below series contains few small misc fixes found after running through clang
static checker.

Sandeep Dhavale (7):
  erofs-utils: fsck: Fix potential memory leak in error path
  erofs-utils: lib: Remove redundant line to get padding
  erofs-utils: lib: Fix memory leak if __erofs_battach() fails
  erofs-utils: lib: Check for error from z_erofs_pack_file_from_fd()
  erofs-utils: lib: Fix the memory leak in error path
  erofs-utils: lib: Remove redundant assignment
  erofs-utils: lib: tar: Initialize the variable to avoid using garbage
    value

 fsck/main.c      | 4 +++-
 lib/blobchunk.c  | 1 -
 lib/cache.c      | 4 +++-
 lib/compress.c   | 2 ++
 lib/decompress.c | 4 +++-
 lib/namei.c      | 1 -
 lib/tar.c        | 2 +-
 7 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.42.0.283.g2d96d420d3-goog



More information about the Linux-erofs mailing list