summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Haoran Zhang <haoranzhang@google.com> 2023-02-24 17:48:21 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-02-24 17:48:21 +0000
commit51009536ce4aee43f42a103a0ec89e822e8e5f5f (patch)
treed094893ca3f5684ad0d211371f87bd556e3423bd /libs/androidfw/ApkParsing.cpp
parent670778a1e642f4e33ccb40b35d9580436707065d (diff)
parent8e3f12f30546380c6fe7564adc5344c7e4b4380e (diff)
Merge "Since we are using string.subString(startIndex, endIndex) when parsing denylist, we should make sure startIndex <= endIndex before calling string.substring(). Otherwise, an index out of bound excpetion would throw and make the app terminate. This could happen if we are not careful with the denylist and make the denylist wrong formatted. For example, a ";" is left out in the end, and startIndex in this case would become -1." into udc-dev
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions