Project

General

Profile

Actions

Bug #5535

closed

libelf should check for e_phoff overflow

Added by Rich Lowe over 6 years ago. Updated over 6 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:
Gerrit CR:

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.

Actions

Also available in: Atom PDF