Fix heap-buffer-overflow detected by ASAN.

Bug: 34949125
Bug: 34606909
Test: Make sure Android boots when built with SANITIZE_TARGET='address'
Change-Id: I9c004e806f2025098aa72228284b05affd2c2802
1 file changed
tree: 5058fd591e395f974a89f031768d95b1f13a9e3d
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/