[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/30951] New: Null pointer dereference in ldlex.l
From: |
shiyuyuranzh at gmail dot com |
Subject: |
[Bug binutils/30951] New: Null pointer dereference in ldlex.l |
Date: |
Mon, 09 Oct 2023 12:52:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30951
Bug ID: 30951
Summary: Null pointer dereference in ldlex.l
Product: binutils
Version: 2.41
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: shiyuyuranzh at gmail dot com
Target Milestone: ---
Created attachment 15159
--> https://sourceware.org/bugzilla/attachment.cgi?id=15159&action=edit
the detailed information of the bug
Hi, I found a null pointer dereference bug in the source code of binutils, and
I have shown the execution sequence below. This bug exists in the file
/ld/ldlex.l. The white text illustrates the steps that generate the bug.
The return value of YY_CURRENT_BUFFER can be null, then it dereferenced at line
659 without checking if it is null.The detailed instrunctions are in the
attachment.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/30951] New: Null pointer dereference in ldlex.l,
shiyuyuranzh at gmail dot com <=