Project

General

Profile

Bug #5578

file(1) should validate Elf_Shdr->sh_name

Added by Rich Lowe almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2015-01-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

file(1) blindly trusts the section name index it finds in section headers, and will crash if one is invalid. It should check.

History

#1

Updated by Electric Monk almost 5 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 91600d919baafe4e4d8bdee4168878036351c556

commit  91600d919baafe4e4d8bdee4168878036351c556
Author: Richard Lowe <richlowe@richlowe.net>
Date:   2015-02-05T01:51:38.000Z

    5578 file(1) should validate Elf_Shdr->sh_name
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF