diff options
| author | 2023-03-28 10:42:00 +0000 | |
|---|---|---|
| committer | 2023-03-28 18:01:05 +0000 | |
| commit | ac19a904b526cb851bd3c009649de64925cb0a4a (patch) | |
| tree | de5da03fa5a34a0d88009e9f51d0c917515b93e4 /libs/androidfw/ObbFile.cpp | |
| parent | 8246587377c73140200ce087bbd10205d1e1be55 (diff) | |
Don't throw if the matching key contains ":".
If a client adds custom crafted strings as part of matching key,
it is possible for this restriction to go unnoticed. Instead,
just all allow characters in the key. This means that we cannot
solely rely on getDeliveryGroupMatchingKey() for matching but
don't think this would be a problem for clients of this API
outside the System.
Bug: 275312433
Test: atest ./tests/app/src/android/app/cts/BroadcastOptionsTest.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastRecordTest.java
Change-Id: I76e307800017d4dd1e66233b1ff4cc5cbcef7246
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions