[PATCH v3 00/12] e2fsprogs: some bugfixs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Wu Guanghao <wuguanghao3@xxxxxxxxxx>

v2->v3
[PATCH v3 04/12]ss_add_info_dir: don't zap the info->info_dirs and check whether NULL pointer
[PATCH v3 05/12]ss_create_invocation: fix memory leak and check whether NULL pointer
[PATCH v3 10/12]hashmap: change return value type of ext2fs_hashmap_add()
[PATCH v3 11/12]misc/lsattr: check whether path is NULL in lsattr_dir_proc() 
modify according to Ted's suggestion.
Other patches have been applied and not sent

v1->v2
error correction

Zhiqiang Liu (6):
  argv_parse: check return value of malloc in argv_parse()
  misc: fix potential segmentation fault problem in scandir()
  lib/ss/error.c: check return value malloc in ss_name()
  hashmap: change return value type of ext2fs_hashmap_add()
  misc/lsattr: check whether path is NULL in lsattr_dir_proc()
  ext2ed: fix potential NULL pointer dereference in dupstr()

Wu Guanghao (6):
  append_pathname: check the value returned by realloc
  profile_create_node: set magic before strdup(name) to avoid memory
    leak
  tdb_transaction_recover: fix memory leak
  zap_sector: fix memory leak
  ss_add_info_dir: don't zap the info->info_dirs and check whether NULL pointer
  ss_create_invocation: fix memory leak and check whether NULL pointer

 contrib/android/base_fs.c | 14 +++++++++----
 contrib/fsstress.c        | 10 ++++++++--
 ext2ed/main.c             |  2 ++
 lib/ext2fs/fileio.c       | 11 ++++++++--
 lib/ext2fs/hashmap.c      | 12 +++++++++--
 lib/ext2fs/hashmap.h      |  5 +++--
 lib/ext2fs/tdb.c          |  1 +
 lib/ss/error.c            |  2 ++
 lib/ss/help.c             |  5 ++++-
 lib/ss/invocation.c       | 42 ++++++++++++++++++++++++++++++---------
 lib/support/argv_parse.c  |  2 ++
 lib/support/profile.c     |  3 ++-
 misc/create_inode.c       |  3 +++
 misc/lsattr.c             |  5 +++++
 misc/mke2fs.c             |  4 +++-
 15 files changed, 97 insertions(+), 24 deletions(-)

-- 
2.27.0




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux