bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30954] New: A potential null_pointer_deference bug


From: 23020231154193 at stu dot xmu.edu.cn
Subject: [Bug ld/30954] New: A potential null_pointer_deference bug
Date: Mon, 09 Oct 2023 15:43:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30954

            Bug ID: 30954
           Summary: A potential null_pointer_deference bug
           Product: binutils
           Version: 2.41
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: 23020231154193 at stu dot xmu.edu.cn
  Target Milestone: ---

Hi,I found a potential null pointer dereference bug in ld/ldlang.c,and I have
shown the execution sequence in an image, which can be accessed through the
link below: 

https://github-production-user-asset-6210df.s3.amazonaws.com/88568227/273632266-e8a80ab6-53ac-4bc5-b450-4852185bda6c.png

The red text illustrates the steps that generate the bug, and the file path can
be seen in the blue framed section.

I also find that there is check whether os is NULL(shown in the image above) at
line 3874, just a little behind line 3846. 

Although the code shown is for version 2.32 but this potential bug is still
exist in the current version.Would you can help to check if this bug is true?
Thank you for your effort and 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]