View | Details | Raw Unified | Return to bug 17531 | Differences between
and this patch

Collapse All | Expand All

(-)a/binutils/readelf.c (-2 / +2 lines)
Lines 5160-5166 process_section_headers (FILE * file) Link Here
5160
    {
5160
    {
5161
      section = section_headers + elf_header.e_shstrndx;
5161
      section = section_headers + elf_header.e_shstrndx;
5162
5162
5163
      if (section->sh_size != 0)
5163
      /* PR17531: file: 2917-12673-0.004 */
5164
      if (section->sh_size != 0 && section->sh_size < elf_header.e_shentsize)
5164
	{
5165
	{
5165
	  string_table = (char *) get_data (NULL, file, section->sh_offset,
5166
	  string_table = (char *) get_data (NULL, file, section->sh_offset,
5166
                                            1, section->sh_size,
5167
                                            1, section->sh_size,
5167
- 

Return to bug 17531