Fix potential use-after-free bugs.
commitdc814f0f09ac2da6273b77183fbc66ceb3c9218f
authorDave Korn <dave.korn@artimi.com>
Fri, 15 Oct 2010 16:09:36 +0000 (15 16:09 +0000)
committerDave Korn <dave.korn@artimi.com>
Fri, 15 Oct 2010 16:09:36 +0000 (15 16:09 +0000)
tree32594d67c1341b0dc9feb8b32caf24b76a198d17
parent37f1ae700118258507e1261d40e6afb6049b3f62
Fix potential use-after-free bugs.

ld/ChangeLog:

* plugin.c (add_input_file): Take copy of input string.
(add_input_library): Likewise.
(set_extra_library_path): Likewise.
ld/ChangeLog
ld/plugin.c