]> git.ipfire.org Git - thirdparty/util-linux.git/commit
disk-utils: fix memory leak in execute function
authorTigran Sogomonian <tsogomonian@astralinux.ru>
Mon, 29 Jun 2026 12:52:06 +0000 (15:52 +0300)
committerTigran Sogomonian <tsogomonian@astralinux.ru>
Mon, 29 Jun 2026 12:52:06 +0000 (15:52 +0300)
commit3c053487dddfee89ffc401822971fc7cb95c934d
tree53b9826878fbe945ad4e02c98ecb72ae5b3959a7
parent4b3fac563510dede34550ac7280aa00b3e29cd94
disk-utils: fix memory leak in execute function

Dynamic memory, referenced by 'argv', is allocated by calling function
'xstrdup' and lost when function returns.

Found by the static analyzer Svace.

Signed-off-by: Tigran Sogomonian <tsogomonian@astralinux.ru>
disk-utils/fsck.c