summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Joanne Chung <joannechung@google.com> 2024-01-22 03:40:24 +0000
committer Joanne Chung <joannechung@google.com> 2024-01-23 05:36:39 +0000
commit3a13332728d6da17dc7434adc0decae704f19396 (patch)
tree300551ac6ba540be5664d5166fa70a82cab1c0ad /libs/androidfw/StringPool.cpp
parent6bf8e9bd7d0df10f61ccafc40e331ba65954ccf8 (diff)
Avoid NPE crash system server
The install request was removed from the array but another new post to handle the same request was coming. Cannot get the request from the array that caused NPE. There are two paths that will post POST_INSTALL, one comes install flow, one comes from another system services, e.g, backup, rollback. From dashboard, this should be a rare case, the happen rate is low. To avoid crash system, do nothing if request is null. Bug: 321267572 Test: manual. Cannot reproduce locally Change-Id: I3ab158a14823719478de2a20c11941ae75b6f549
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions