OSDN Git Service

Fix incorrect size of array.
authorChristopher Ferris <cferris@google.com>
Sat, 20 Feb 2016 02:13:29 +0000 (18:13 -0800)
committerChristopher Ferris <cferris@google.com>
Wed, 24 Feb 2016 02:11:14 +0000 (18:11 -0800)
commit1724535fb4ebf6b6ff1b3ac06f7dcaf5cb36da78
tree7740ae83ee9cf0abfe86c96d001bbca380a8157f
parentb7ff533ed28f82c0981b83ae80e8bc8e3f350d0f
Fix incorrect size of array.

When using sscanf and "%4s", the array passed in must include space for
a nul terminator.

Bug: 26739265

(cherry picked from commit f499dc91e774db4cb9d21f9a7c34704fa9b7ed39)

Change-Id: I8aac6fca3e5bc7a6399e2ed9c6ba4140a55ffdee
libc/malloc_debug/Android.mk
libc/malloc_debug/MapData.cpp