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 5 years ago
- Status changed from New to Closed
commit 3c457126d6dda7ae8bfeed1d0f7023b997a97622 Author: Timothy J Fontaine <firstname.lastname@example.org> 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 <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Adam Leventhal <email@example.com> Reviewed by: Rafael Vanoni <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>