Project

General

Profile

Actions

Bug #7095

closed

libproc file_info_t file_pname too short

Added by Robert Mustacchi about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2016-06-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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.

Actions

Also available in: Atom PDF