diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-07-21 08:54:46 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-07-21 08:54:46 +0000 |
commit | 19ba81c75ab61e11e242da176f498a77890674fe (patch) | |
tree | 9f252b8a2b18f7aca5a209ccd3e4417297b74185 /secure | |
parent | 6a464b6e13572e62258c8ed48f1dd4235782d6be (diff) | |
download | FreeBSD-src-19ba81c75ab61e11e242da176f498a77890674fe.zip FreeBSD-src-19ba81c75ab61e11e242da176f498a77890674fe.tar.gz |
- Correctly handle sections of type SHT_NOBITS. For these sections:
- elf_getdata() and elf_rawdata() should return an "Elf_Data" structure
that has its "d_buf" member set to NULL and "d_size" member set to
the nominal 'size' of the section. [1]
- Update the manual page for these functions.
- Fix a memory leak in an error handling path inside elf_getdata().
- Use _libelf_allocate_data() in elf_newdata() for consistency.
Obtained from: elftoolchain
MFC after: 1 month
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions