Deleted Added
full compact
34a35
> notecount = ms->elf_notes_max;
40c41
< return toomany(ms, "program", phnum);
---
> return toomany(ms, "program headers", phnum);
45c46
< fsize, &flags) == -1)
---
> fsize, &flags, &notecount) == -1)
60c61
< fsize, &flags, shnum) == -1)
---
> fsize, shnum, &flags, &notecount) == -1)
66c67
< return toomany(ms, "section", shnum);
---
> return toomany(ms, "section headers", shnum);
70,71c71,73
< fsize, &flags, elf_getu16(swap, elfhdr.e_machine),
< (int)elf_getu16(swap, elfhdr.e_shstrndx)) == -1)
---
> fsize, elf_getu16(swap, elfhdr.e_machine),
> (int)elf_getu16(swap, elfhdr.e_shstrndx),
> &flags, &notecount) == -1)
77a80,81
> if (notecount == 0)
> return toomany(ms, "notes", ms->elf_notes_max);