Fix potential use-after-free bugs.
authorDave Korn <dave.korn@artimi.com>
Fri, 15 Oct 2010 16:09:36 +0000 (16:09 +0000)
committerDave Korn <dave.korn@artimi.com>
Fri, 15 Oct 2010 16:09:36 +0000 (16:09 +0000)
commitd4cb7acdd8134607c321fc33c91696d672f49b1d
treefb0910d987e3c31ef6c5ead5e16556a942d91ef4
parentc3842ce50ee3621b3289c1fbd64860c4e8c0cbd8
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