- Fixing incorrect memory usage assessment due to skipping vmflags parsing

- Resolves Red Hat Bugzilla #1262864, affecting upstream
This commit is contained in:
Jan Rybar 2016-06-15 14:12:59 +02:00
parent 8a198e3eaf
commit f6abbb00f0

4
pmap.c
View File

@ -629,9 +629,9 @@ static int one_proc(proc_t * p)
diff = 0;
continue;
}
/* Other keys */
continue;
}
/* Other keys or not a key-value pair */
continue;
}
sscanf(mapbuf, "%" KLF "x-%" KLF "x %31s %llx %x:%x %llu", &start,
&end, perms, &file_offset, &dev_major, &dev_minor,