libproc file_info_t file_pname too short
While going through 7094, I found that Pgrab_idle tries to construct the full path of the object. However, it often can't construct it because the actual size of the field is limited to 64 bytes, which comes from the assumption that it always comes from a prmap_t from /proc. Instead, we should increase this to PATH_MAX so that way when we're referring to files in the file system, we'll actually be able to find them.
Updated by Electric Monk over 4 years ago
- Status changed from New to Closed
commit b7b26e12d252c977b500719111379b6b9aeeb4e5 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2017-01-07T23:19:24.000Z 7095 libproc file_info_t file_pname too short Reviewed by: Cody Mello <email@example.com> Reviewed by: Patrick Mooney <firstname.lastname@example.org> Approved by: Gordon Ross <email@example.com>