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 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 91600d919baafe4e4d8bdee4168878036351c556 Author: Richard Lowe <email@example.com> Date: 2015-02-05T01:51:38.000Z 5578 file(1) should validate Elf_Shdr->sh_name Reviewed by: Marcel Telka <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>