mirror of
https://git.yoctoproject.org/poky
synced 2026-02-25 10:59:41 +01:00
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d] CVE: CVE-2025-3198 (From OE-Core rev: 602d1cab0f8e11925244a27310086b195de70464) Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
809 B
Diff
29 lines
809 B
Diff
From ba6ad3a18cb26b79e0e3b84c39f707535bbc344d Mon Sep 17 00:00:00 2001
|
||
From: Alan Modra <amodra@gmail.com>
|
||
Date: Wed, 19 Feb 2025 07:58:54 +1030
|
||
Subject: [PATCH] PR32716, objdump -i memory leak
|
||
|
||
PR binutils/32716
|
||
* bucomm.c (display_info): Free arg.info.
|
||
|
||
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=ba6ad3a18cb26b79e0e3b84c39f707535bbc344d]
|
||
CVE: CVE-2025-3198
|
||
|
||
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
||
---
|
||
binutils/bucomm.c | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
diff --git a/binutils/bucomm.c b/binutils/bucomm.c
|
||
index ccf54099154..d4554737db1 100644
|
||
--- a/binutils/bucomm.c
|
||
+++ b/binutils/bucomm.c
|
||
@@ -435,6 +435,7 @@ display_info (void)
|
||
if (!arg.error)
|
||
display_target_tables (&arg);
|
||
|
||
+ free (arg.info);
|
||
return arg.error;
|
||
}
|
||
|