The one which actually saves the data is data_list.data.d.d_buf, so check it
before free rawdata_base.
This can fix a segmentation fault when prelink libqb_1.0.3:
prelink: /usr/lib/libqb.so.0.18.2: Symbol section index outside of section
numbers
The segmentation fault happens when prelink call e
* V2
- Also check data_list.data.d.d_buf before free scn->data_base, this can fix
prelink error libqb_1.0.3 on mips and mips64.
* V1
- Initial version
Robert Yang (1):
libelf/elf_end.c: check data_list.data.d.d_buf before free it
libelf/elf_end.c | 6 --
1 file changed, 4 insertio