]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Revert "libmount: (tab) avoid leaking memory allocated in loop"
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 4 Oct 2023 15:21:47 +0000 (17:21 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 4 Oct 2023 15:21:47 +0000 (17:21 +0200)
commit44fa7b032e182fe8a58c699f64c3474ffa5f7abf
tree01fdd7e3f3e689d9ade3bbfea0a6b07d9a34fa25
parentc38162bf27028a61f5cbea8866faa626f01e60d9
Revert "libmount: (tab) avoid leaking memory allocated in loop"

coverity claims that this is now a use-after-free.
Let's revert the original change and make the code clearer before trying
another fix.

This reverts commit d36306a560fd6d747e18ab22fc1279f4a373f43d.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libmount/src/tab.c