libelf should check for e_phoff overflow
lib - userland libraries
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.
Updated by Electric Monk almost 5 years ago
- % Done changed from 90 to 100
- Status changed from In Progress to Closed
commit 18059eae28246ed2eef942a16364131202558094 Author: Richard Lowe <email@example.com> Date: 2015-01-16T16:16:22.000Z 5535 libelf should check for e_phoff overflow Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Bayard Bell <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>