diff options
author | 2022-09-27 21:25:08 +0800 | |
---|---|---|
committer | 2022-10-21 07:50:20 +0000 | |
commit | f287bdaef488f230118c8fc450b33c67b7f94f85 (patch) | |
tree | f927eb70aeea1f5e732650a043171d6306ba23b9 /libs/androidfw/ZipUtils.cpp | |
parent | 90a441ea64142014ee201115b7d771d8777f98aa (diff) |
Fix potential NPE when MessagingMessage's message is null
message.getMessage() is nullable because it may be recycled, so we have to add null check before calling its reference.
This can affect several messaging related layout classes.
Bug: 249260110
Test: manual and atest
Change-Id: I9ac68ab0edca5a5a1a46acfae9bcd52be51ea612
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions