Skip to contentSkip to conversation

solve memory leak and check whether NULL pointer

PATCH In review zhanchengbin 3 participants 3 messages Dec 2, 2021 – Dec 3, 2021

lore
Share & tools
lore
#0 lore raw

cover solve memory leak and check whether NULL pointer

Solve the memory leak of the abnormal branch and the new null pointer check

zhanchengbin (6):
alloc_string : String structure consistency ss_execute_command : Check whether the pointer is not null before it
is referenced.
quota_set_sb_inum : Check whether the pointer is not null before it
is referenced.
badblock_list memory leak
ldesc Non-empty judgment
io->name memory leak

 e2fsck/logfile.c      |  2 ++
 e2fsck/problem.c      |  2 ++
 lib/ext2fs/test_io.c  |  2 ++
 lib/ext2fs/undo_io.c  |  2 ++
 lib/ss/execute_cmd.c  |  2 ++
 lib/support/mkquota.c |  3 ++-
 misc/dumpe2fs.c       |  1 +
 resize/resize2fs.c    | 10 ++++++----
 8 files changed, 19 insertions(+), 5 deletions(-)
Signature · 1 line
2.23.0
#1 lore raw
Quoted 11 lines · zhanchengbin

Solve the memory leak of the abnormal branch and the new null pointer check

zhanchengbin (6):
alloc_string : String structure consistency ss_execute_command : Check whether the pointer is not null before it
is referenced.
quota_set_sb_inum : Check whether the pointer is not null before it
is referenced.
badblock_list memory leak
ldesc Non-empty judgment
io->name memory leak

The cover letter for the patch series arrived, but none of the patches associated with it did. Could you resend?

Thanks,

- Ted

#2 lore raw

Sorry for that, we will resend the patch series.

Quoted 20 lines · Theodore Y. Ts'o
Quoted 11 lines · zhanchengbin

Solve the memory leak of the abnormal branch and the new null pointer check

zhanchengbin (6):
alloc_string : String structure consistency ss_execute_command : Check whether the pointer is not null before it
is referenced.
quota_set_sb_inum : Check whether the pointer is not null before it
is referenced.
badblock_list memory leak
ldesc Non-empty judgment
io->name memory leak

The cover letter for the patch series arrived, but none of the patches associated with it did. Could you resend?

Thanks,

- Ted

.