file(1) should validate Elf_Shdr->sh_name
cmd - userland programs
file(1) blindly trusts the section name index it finds in section headers, and will crash if one is invalid. It should check.
Updated by Electric Monk over 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 91600d919baafe4e4d8bdee4168878036351c556 Author: Richard Lowe <firstname.lastname@example.org> Date: 2015-02-05T01:51:38.000Z 5578 file(1) should validate Elf_Shdr->sh_name Reviewed by: Marcel Telka <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>