[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29261] New: A Potential Memory Leak Bug

From: 1157401338 at qq dot com
Subject: [Bug binutils/29261] New: A Potential Memory Leak Bug
Date: Sat, 18 Jun 2022 02:41:58 +0000


            Bug ID: 29261
           Summary: A Potential Memory Leak Bug
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: 1157401338 at qq dot com
  Target Milestone: ---

Created attachment 14150
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14150&action=edit
diagram of memory leak bug

Hi, I found a potential memory leak bug in the project source code of binutils,
I have shown the execution sequence of the program that may generate the bug on
a diagram which is added to the attachment.
The text in red illustrates the steps that generate the bug
The red arrows represent call relationships
The green text illustrates the files and functions whose code snippets are
located below the green text.

In short, the key to the bug is the third step in the diagram. In the third
step, when select the true branch, program will directly "return FALSE",
instead of doing the free operation like the red box in the figure.

I look forward to your reply and thank you very much for your patience!

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]