linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/12] e2fsprogs: some bugfixs
@ 2021-07-28  1:56 wuguanghao
  2021-07-28  1:56 ` [PATCH v3 04/12] ss_add_info_dir: don't zap the info->info_dirs and check whether wuguanghao
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: wuguanghao @ 2021-07-28  1:56 UTC (permalink / raw)
  To: linux-ext4, tytso; +Cc: linfeilong, liuzhiqiang26, wuguanghao3

From: Wu Guanghao <wuguanghao3@huawei.com>

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-08-03  2:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-28  1:56 [PATCH v3 00/12] e2fsprogs: some bugfixs wuguanghao
2021-07-28  1:56 ` [PATCH v3 04/12] ss_add_info_dir: don't zap the info->info_dirs and check whether wuguanghao
2021-08-03  2:00   ` Theodore Ts'o
2021-07-28  1:56 ` [PATCH v3 05/12] ss_create_invocation: fix memory leak and check whether NULL pointer wuguanghao
2021-08-03  2:01   ` Theodore Ts'o
2021-07-28  1:56 ` [PATCH v3 10/12] hashmap: change return value type of ext2fs_hashmap_add() wuguanghao
2021-08-03  2:33   ` Theodore Ts'o
2021-07-28  1:56 ` [PATCH v3 11/12] misc/lsattr: check whether path is NULL in lsattr_dir_proc() wuguanghao
2021-08-03  2:35   ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).