]> granicus.if.org Git - procps-ng/commitdiff
- Fixing incorrect memory usage assessment due to skipping vmflags parsing
authorJan Rybar <jrybar@redhat.com>
Wed, 15 Jun 2016 12:12:59 +0000 (14:12 +0200)
committerCraig Small <csmall@dropbear.xyz>
Fri, 17 Jun 2016 11:58:39 +0000 (21:58 +1000)
- Resolves Red Hat Bugzilla #1262864, affecting upstream

pmap.c

diff --git a/pmap.c b/pmap.c
index 430e4b155da5fd1a50d552a3881467d40778ea20..109be479f171878496c78c1090be1fa33a11ad90 100644 (file)
--- a/pmap.c
+++ b/pmap.c
@@ -629,9 +629,9 @@ static int one_proc (struct pids_stack *p)
                                        diff = 0;
                                        continue;
                                }
-                               /* Other keys */
-                               continue;
                        }
+                       /* Other keys or not a key-value pair */
+                       continue;
                }
                sscanf(mapbuf, "%lx-%lx %31s %llx %x:%x %llu",
                       &start_To_Avoid_Warning,