]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elflint: Fix memory leak in check_gnu_hash function
authorMaks Mishin <maks.mishinfz@gmail.com>
Wed, 18 Sep 2024 08:58:07 +0000 (11:58 +0300)
committerAaron Merey <amerey@redhat.com>
Fri, 20 Sep 2024 15:51:28 +0000 (11:51 -0400)
commitb47bdee08a16078c8a4d81b440f99f630e3e5631
tree694b892e6b70d6d13ec8ed486a93d4cdbf8c9d32
parent30df1adeab5a9285830042b446a828319c6aa743
elflint: Fix memory leak in check_gnu_hash function

Dynamic memory, referenced by 'collected', is allocated at elflint.c:2235
and lost at elflint.c:2296.

Found by RASU JSC with SVACE.

Signed-off-by: Maks Mishin <maks.mishinFZ@gmail.com>
src/elflint.c