[PATCH] doc/debuginfod.8: fix wrong parameter name for .deb files in description

2021-04-03 Thread Andreas Ziegler
One place in the description referred to the parameter for .deb/.ddeb files as "-D" as opposed to the correct "-U". Signed-off-by: Andreas Ziegler --- doc/debuginfod.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/debuginfod.8 b/doc/debuginfod.8 index c33a4b6b..1ba42cf6

[PATCH] nm: Fix file descriptor leak on dwfl_begin failure.

2021-04-03 Thread Mark Wielaard
If dwfl_begin fails we won't use the dwfl_fd descriptor we just dupped. Make sure to close on dwfl_begin failure to avoid the leak. Signed-off-by: Mark Wielaard --- src/ChangeLog | 4 src/nm.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 30

[PATCH] unstrip: Fix small leak in handle_output_dir_module.

2021-04-03 Thread Mark Wielaard
eu-unstrip might leak a string for each module found when using the -d option. Make sure to free the output_file name when we are done with the module. Signed-off-by: Mark Wielaard --- src/ChangeLog | 4 src/unstrip.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/sr

[PATCH] ar: Always close newfd in do_oper_insert.

2021-04-03 Thread Mark Wielaard
newfd is normally created by mkstemp given the original fd exists. Otherwise it will created by open from arfname. In the second case newfd might not get closed. Preventd this by always trying to close it after errout. Signed-off-by: Mark Wielaard --- src/ChangeLog | 4 src/ar.c | 3 ++