summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-06-27 14:42:13 +0000
committeremaste <emaste@FreeBSD.org>2014-06-27 14:42:13 +0000
commitc17570f4b122b08e9ad6dc2c7a694d42444fe19f (patch)
treef411bea37e85cc154635941b43b179ab998f1e90 /usr.sbin/ctld
parent4dd240dde070d23287ceb79acd8bc4c76a1ac96b (diff)
downloadFreeBSD-src-c17570f4b122b08e9ad6dc2c7a694d42444fe19f.zip
FreeBSD-src-c17570f4b122b08e9ad6dc2c7a694d42444fe19f.tar.gz
MFC r265613, r267649: Handle ELF files with 65280 or more sections
If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an escape value is used to indicate that the actual value is found in one of section 0's fields. Don't dump core when the ELF file has no section headers. The ELF core files created by gcore are among those.
Diffstat (limited to 'usr.sbin/ctld')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud