summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkAssets.cpp
diff options
context:
space:
mode:
author lijilou <lijilou@xiaomi.corp-partner.google.com> 2025-02-27 16:40:36 +0800
committer Jilou li <lijilou@xiaomi.corp-partner.google.com> 2025-02-27 00:45:32 -0800
commite39304db55949cd6ae8094bde15d7d18d60ec0c8 (patch)
tree1f288f5d1b1137185bdd9da3d84af8173f2d6d9e /libs/androidfw/ApkAssets.cpp
parent42401c8b2bd2138d239251826ba5e7427afb13e7 (diff)
Fix array index out of bounds exception problem.
The getPrimaryPointerId method may return the INVALID_POINTER_ID(-1) value and result to array index out of bounds exception.The crash log: java.lang.ArrayIndexOutOfBoundsException: length=32; index=-1 at com.android.server.accessibility.gestures.TouchState$ReceivedPointerTracker.getReceivedPointerDownX(TouchState.java:482) at com.android.server.accessibility.gestures.TouchExplorer.handleActionMoveStateTouchExploring(TouchExplorer.java:910) ..... Test: monkey test Flag: EXEMPT bugfix Bug: 399557645 Change-Id: Ib0b14471953d8f78cf98122dd868be8b80059a75
Diffstat (limited to 'libs/androidfw/ApkAssets.cpp')
0 files changed, 0 insertions, 0 deletions