Project

General

Profile

Bug #5535

libelf should check for e_phoff overflow

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

Status:
Closed
Priority:
Low
Assignee:
Category:
lib - userland libraries
Start date:
2015-01-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

libelf needs to guard against an e_phoff that is sufficiently large as to overflow when checking that the apparent location of the program header table is within the file bounds, otherwise libelf will read junk and (probably) crash.

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 18059eae28246ed2eef942a16364131202558094

commit  18059eae28246ed2eef942a16364131202558094
Author: Richard Lowe <richlowe@richlowe.net>
Date:   2015-01-16T16:16:22.000Z

    5535 libelf should check for e_phoff overflow
    Reviewed by: Dan McDonald <danmcd@omniti.com>
    Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF