Prevent an illegal memory access in gprof by ensuring that string tables for aout...
authorNick Clifton <nickc@redhat.com>
Mon, 23 Apr 2018 11:52:42 +0000 (12:52 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 23 Apr 2018 11:52:42 +0000 (12:52 +0100)
commitbf82069dce1b1a88560e5d7320342c78372b627e
tree4abcb9d2e34f69b7231f586c5d6e82e9a75b4d9c
parent5a6312e8c015d4a98020038f3b6e144db230f3ca
Prevent an illegal memory access in gprof by ensuring that string tables for aout format files are always zero-terminated.

PR 23056
* aoutx.h (aout_get_external_symbols): Allocate an extra byte at
the end of the string table, and zero it.
bfd/ChangeLog
bfd/aoutx.h
This page took 0.024681 seconds and 4 git commands to generate.