diff options
| author | Alan Modra | 2015-11-08 09:29:00 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-11-08 10:00:59 -0800 |
| commit | 3ff9fc0e8d738be5004c65c3be314af9aca68148 (patch) | |
| tree | 670d5f6de1d84737c944ba7c0c7f3f4e4395116c /src/coding.c | |
| parent | 190b968f189cb7d06223bb39045ec9055df67f68 (diff) | |
| download | emacs-3ff9fc0e8d738be5004c65c3be314af9aca68148.tar.gz emacs-3ff9fc0e8d738be5004c65c3be314af9aca68148.zip | |
ELF unexec: _OBJC_ symbols in bss sections
This code assumed that there was only one bss section. Rather than
checking for a particular index, check the section type. Also, handle
the possibility that the section was SHT_NOBITS originally and is
unchanged, in which case no clearing is needed (and sh_offset isn't
necessarily valid, which can lead to a wild memset).
* unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions