diff options
author | Craig Small <csmall@enc.com.au> | 2013-09-11 21:52:49 +1000 |
---|---|---|
committer | Craig Small <csmall@enc.com.au> | 2013-09-11 21:52:49 +1000 |
commit | c9378261370bbaf8d0798c9c2ea949763b34dc61 (patch) | |
tree | 230e2ef33aff7b637d8b390ed828fb3ef6561ac4 | |
parent | dd6f24dbed12e95235b3df49e550b5039e74e6d8 (diff) | |
parent | 5a39544b215c99e93ba435aa4a671b0192329c08 (diff) | |
download | procps-ng-c9378261370bbaf8d0798c9c2ea949763b34dc61.tar.gz |
Fix off-by-one by pmap
Merge request 15
-rw-r--r-- | pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -591,7 +591,7 @@ static int one_proc(proc_t * p) unsigned long long file_offset, inode; unsigned dev_major, dev_minor; unsigned long long smap_value; - char smap_key[20]; + char smap_key[21]; /* hex values are lower case or numeric, keys are upper */ if (mapbuf[0] >= 'A' && mapbuf[0] <= 'Z') { |