tytso / e2fsprogs

Ext2/3/4 file system utilities
http://ext4.wiki.kernel.org
373 stars 219 forks source link

Memory leak in function compile_fs_type #160

Closed haykaslanian closed 4 months ago

haykaslanian commented 1 year ago

Summary: Memory leak in function _compile_fstype . The memory leak is found by a static analyzer tool developed at CAST (https://www.linkedin.com/company/cast-center).

Description:

Memory is allocated in misc/fsck.c:782 by calling _stringcopy function and is not freed before calling exit in line 809.

commit: e76886f