aboutsummaryrefslogtreecommitdiff
path: root/binutils/maybe-strip.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-11-16 13:06:22 +0000
committerNick Clifton <nickc@redhat.com>2017-11-16 13:06:22 +0000
commit38b28f7088057d70497de7312cd983ec8e408a76 (patch)
tree87ad221e6a2a9a6a3a619483aabe5489df6ac91e /binutils/maybe-strip.c
parent5f847646eeb0107cb8c5e44c8bca3a4c88c91673 (diff)
downloadgdb-38b28f7088057d70497de7312cd983ec8e408a76.zip
gdb-38b28f7088057d70497de7312cd983ec8e408a76.tar.gz
gdb-38b28f7088057d70497de7312cd983ec8e408a76.tar.bz2
Prevent a possible seg-fault in the section merging code, by always creating a padding buffer.
* merge.c (sec_merge_emit): Always create padding buffer. Add asserts to make sure that the buffer is long enough.
Diffstat (limited to 'binutils/maybe-strip.c')
0 files changed, 0 insertions, 0 deletions