commit | f63a05170772d19b9c05a090d838c1af299d2585 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Wed Nov 09 10:14:35 2016 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Nov 09 10:16:38 2016 -0800 |
tree | 53fa12f29de5a07f486bd1e219e49ba1d70fd601 | |
parent | 70018c9d18692350c79874fef254f24f75242077 [diff] |
liblog: android_closeEventTagMap pointer check Followup to c/278768 where failure to open tag map can result in segment violation in android_closeEventTagMap. Add check for pointer value = -1 to bypass call to close. Test: gTest liblog-unit-tests, logcat-unit-tests & logd-unit-tests Bug: 30963384 Bug: 31456426 Change-Id: I20547e55d7e29682fde4538bc1fc6d83b4535d49