]> git.wh0rd.org Git - elf2flt.git/commit
Check `output_elf' for being NULL
authorAlexey Neyman <stilor@att.net>
Fri, 15 Feb 2019 04:12:34 +0000 (20:12 -0800)
committerMike Frysinger <vapier@gmail.com>
Sun, 17 Feb 2019 17:26:26 +0000 (12:26 -0500)
commit4996ccdadecaf0169dc3fcc2ac996893f0f7eae1
tree84eb8081b692a7cfa50a7aee264e64e64b398300
parent6d80ab6c93409e796f85da404bde84b841231531
Check `output_elf' for being NULL

... before passing it to unlink(). GCC8.2 detects that one of the
branches in do_final_link() does not initialize it from its original
value, NULL.

Signed-off-by: Alexey Neyman <stilor@att.net>
ld-elf2flt.c