Fix: A potential null_pointer_deference bug
authorNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 16:13:25 +0000 (17:13 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Oct 2023 16:13:25 +0000 (17:13 +0100)
commitee1cb49e5a9de8049d887abd8c9f2eff1851147e
tree591385182b7b217c52571dec1c941fd4d59ca82d
parentcb0f1baf44a4de4506283502df68cad3b7780e1d
Fix: A potential null_pointer_deference bug

  PR 30954
  * ldlang.c (map_input_to_output_sections): Check that os is non NULL before using it.
ld/ChangeLog
ld/ldlang.c