From: <jk...@us...> - 2008-04-07 12:24:35
|
Revision: 10 http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=10&view=rev Author: jkoshy Date: 2008-04-07 05:24:33 -0700 (Mon, 07 Apr 2008) Log Message: ----------- - 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. Submitted by: kaiwang27 [1] - Fix a memory leak in an error handling path inside elf_getdata(). - Use _libelf_allocate_data() in elf_newdata() for consistency. Modified Paths: -------------- projects/libelf/trunk/elf_data.c projects/libelf/trunk/elf_getdata.3 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |