commit | b43eb943aee8c1209b604fd10a9f306ececf369e | [log] [tgz] |
---|---|---|
author | Dan Austin <danielaustin@google.com> | Tue Nov 27 07:30:11 2018 -0800 |
committer | Dan Austin <danielaustin@google.com> | Tue Nov 27 14:01:29 2018 -0800 |
tree | 11c40987234eafc08b9f22a93d5972f2a75cc9e6 | |
parent | 66a6d8877cdaf169a24e0e7157f50b551a7b70a2 [diff] |
Fix null pointer dereference in auditParse There is an issue in LogAudit::auditParse where android::uidToName(uid) crashes with a null pointer dereference. Include a null check on the value before passing it on. Bug: 120043607 Test: End-to-end test with syzkaller as per instructions in bug. Change-Id: Ic0ac5c3003fcd289ec156ce63fbd668413763429