Fix: Null pointer dereference in ldlex.l
authorNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 16:52:39 +0000 (17:52 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 16:52:39 +0000 (17:52 +0100)
commit1b334e27f8410c7fbe3417023258eb9e03ec9592
treed038ef33d9ce58e516e16c603d9d60a36810ef7b
parentee1cb49e5a9de8049d887abd8c9f2eff1851147e
Fix: Null pointer dereference in ldlex.l

  PR 30951
  * ldlex.l (yy_input): Check for YY_CURRENT_BUFFER being NULL.
ld/ChangeLog
ld/ldlex.l