projects
/
platform
/
core
/
system
/
memps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1256cc0
)
Fix smaps parsing on 64bit kernel
75/95575/1
author
Hyeongsik Min
<hyeongsik.min@samsung.com>
Fri, 4 Nov 2016 01:42:18 +0000
(10:42 +0900)
committer
Hyeongsik Min
<hyeongsik.min@samsung.com>
Fri, 4 Nov 2016 01:49:15 +0000
(10:49 +0900)
In previous patch, there is a issue that memps truncates pathname
when it includes blank space.
Change-Id: I72770bc84c4f11b114c2dcdaad69314bacb113e4
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
memps.c
patch
|
blob
|
history
diff --git
a/memps.c
b/memps.c
index
db6a938
..
84f4f06
100644
(file)
--- a/
memps.c
+++ b/
memps.c
@@
-337,7
+337,7
@@
mapinfo *read_mapinfo(char** smaps, int line_cnt)
if (mi == 0)
return 0;
- n = sscanf(line, "%lx-%lx %s %*s %*s %*s %
s
",
+ n = sscanf(line, "%lx-%lx %s %*s %*s %*s %
[^\n]
",
&mi->start, &mi->end, &mi->perm, &mi->name);
if (n == 3)