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