diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-03-15 11:00:44 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-03-15 11:00:44 +0100 |
commit | c68b1842bdb3cedce0cac7da43045c3788085a91 (patch) | |
tree | 9f9e316d7621c53ca03359f1d53baca52f6d634e /config/warnings.m4 | |
parent | ba6a0ef34933712ec65855997e982bead3b314d4 (diff) | |
download | gdb-c68b1842bdb3cedce0cac7da43045c3788085a91.zip gdb-c68b1842bdb3cedce0cac7da43045c3788085a91.tar.gz gdb-c68b1842bdb3cedce0cac7da43045c3788085a91.tar.bz2 |
ld: don't chance overrunning PE .reloc section content
The allocation of reloc_d doesn't take reloc_s->size into account. There
is already padding being emitted up to the allocated size. While
reloc_s->size ought to still be zero at this point anyway (and hence the
code being deleted would have been just dead), don't risk writing past
the actual allocation.
Diffstat (limited to 'config/warnings.m4')
0 files changed, 0 insertions, 0 deletions