diff options
| author | 2024-09-24 15:41:53 +0200 | |
|---|---|---|
| committer | 2024-09-27 07:39:06 +0000 | |
| commit | 3de731a1858c162a3f0b5b15a3356cead4235c15 (patch) | |
| tree | 5202a2637e632244e1afc742a60e6bb5231f91ff /libs/androidfw/StringPool.cpp | |
| parent | 6d79476a566c3d06384f2cdcb01146c0cc276cde (diff) | |
DPMS: Enforce max byte length not character length
The Binary XML serializer doesn't support strings with a *byte*
length > 65k, but the DPMS code actually checked for *character*
length.
Test: android.devicepolicy.cts.AffiliationIdsTest#setAffiliationIds_idTooLong_throws
Bug: b/336550683
Flag: EXEMPT Bugfix
Change-Id: Ife885da75206d8000e3c0f247386685dc8d0ea76
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions