bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/30951] Null pointer dereference in ldlex.l


From: nickc at redhat dot com
Subject: [Bug binutils/30951] Null pointer dereference in ldlex.l
Date: Mon, 09 Oct 2023 16:56:00 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |nickc at redhat dot com

--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi 时宇羽然 ,

  Thank you for reporting this problem.  Your analysis is basically correct 
  and so I have gone ahead and applied a small patch to add a check for
  YY_CURRENT_BUFFER being NULL.

  The only problem I had with your analysis is that is shows the contents
  of the bfin-lex.c file, which is not the one that is built from the
ld/ldlex.l
  input file.  I was concerned that there might have been some differences
  between bfin-lex.c and ldlex.c, differences that affected this problem.
  But, it turns out that as far as defining YY_CURRENT_BUFFER they are both
  the same.

Cheers
  Nick

-- 
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]