Date: Wed, 21 Jul 2010 08:54:46 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libelf elf_data.c elf_getdata.3 Message-ID: <201007211832.o6LIWfUw099386@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kaiw 2010-07-21 08:54:46 UTC FreeBSD src repository Modified files: lib/libelf elf_data.c elf_getdata.3 Log: SVN rev 210324 on 2010-07-21 08:54:46Z by kaiw - 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 Revision Changes Path 1.3 +25 -18 src/lib/libelf/elf_data.c 1.4 +27 -1 src/lib/libelf/elf_getdata.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211832.o6LIWfUw099386>