Bug #5235
libproc doesn't correctly handle elf note rounding
Start date:
2014-10-16
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Description
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.
History
Updated by Electric Monk about 5 years ago
- Status changed from New to Closed
git commit 3c457126d6dda7ae8bfeed1d0f7023b997a97622
commit 3c457126d6dda7ae8bfeed1d0f7023b997a97622 Author: Timothy J Fontaine <tj.fontaine@joyent.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 <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Rafael Vanoni <rafael.vanoni@pluribusnetworks.com> Approved by: Garrett D'Amore <garrett@damore.org>