libproc doesn't correctly handle elf note rounding
While an elf note header size is in bytes, the elf note itself is always aligned to the next four byte boundary. When processing elf notes, libproc does not correctly take this into account and therefore can seek to something that isn't the beginning of the next elf note header.
Updated by Electric Monk almost 7 years ago
- Status changed from New to Closed
commit 3c457126d6dda7ae8bfeed1d0f7023b997a97622 Author: Timothy J Fontaine <email@example.com> Date: 2014-10-29T18:26:44.000Z 5234 libproc could understand Linux core files 5235 libproc doesn't correctly handle elf note rounding Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Adam Leventhal <firstname.lastname@example.org> Reviewed by: Rafael Vanoni <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>