Fix seg-fault in the linker when attempting to print out a malicious linker script.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 15:43:53 +0000 (15:43 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 15:45:30 +0000 (15:45 +0000)
commitf5ac6ab387ef0974f6348ac7febc691fbb6c0eb4
tree0c62cd4de1dc2d14fa4057b37cdc6877430d9307
parenta9752fdf83985f62a0c343311a9cb42ad13f9876
Fix seg-fault in the linker when attempting to print out a malicious linker script.

PR ld/20910
* ldmain.c (main): Prevent evaluation of %<char> sequences when
printing out a linker script.
ld/ChangeLog
ld/ldmain.c