diff options
author | Robert Mustacchi <rm@joyent.com> | 2015-12-23 15:10:37 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2016-03-25 04:22:05 +0000 |
commit | ecdc3226e423718bdc28b5f228eec7d639cb77d2 (patch) | |
tree | 51b5772b69ca4442f641a9d48cf4ea36d1e13a74 | |
parent | 9e99b828a90c1cbd8684696a9f96bd761d941ef2 (diff) | |
download | illumos-joyent-ecdc3226e423718bdc28b5f228eec7d639cb77d2.tar.gz |
OS-5057 libproc file_info_t file_pname too short
Reviewed by: Cody Mello <cody.mello@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
-rw-r--r-- | usr/src/lib/libproc/common/Pcontrol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/lib/libproc/common/Pcontrol.h b/usr/src/lib/libproc/common/Pcontrol.h index 4dd23e459b..5840409651 100644 --- a/usr/src/lib/libproc/common/Pcontrol.h +++ b/usr/src/lib/libproc/common/Pcontrol.h @@ -92,7 +92,7 @@ typedef struct sym_tbl { /* symbol table */ typedef struct file_info { /* symbol information for a mapped file */ plist_t file_list; /* linked list */ - char file_pname[PRMAPSZ]; /* name from prmap_t */ + char file_pname[PATH_MAX]; /* name from prmap_t */ struct map_info *file_map; /* primary (text) mapping */ int file_ref; /* references from map_info_t structures */ int file_fd; /* file descriptor for the mapped file */ |