commit | 5d461218f8c38dadf831ccc52ac6e5153687cf17 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed May 15 18:31:05 2013 -0700 |
committer | Colin Cross <ccross@android.com> | Mon Jun 24 14:55:16 2013 -0700 |
tree | 565538c89f57b4460d5df64c8103a86ce5e2e9fb | |
parent | 69294b5bf79dd0f0909ed8831fbac0f3ab5bf1e5 [diff] |
libpagemap: fix reusing previous name for mappings with no name Mappings that are not from a file do not have a name. The sscanf will read all of the fields up to the name, and then leave name untouched. This causes the previous name to be reused. Reset name to an empty string before each call to sscanf. Change-Id: Ib146732983eb074d0d4773be094efa0b672f5ed2