commit | 3de731a1858c162a3f0b5b15a3356cead4235c15 | [log] [tgz] |
---|---|---|
author | Jeroen Dhollander <jeroendh@google.com> | Tue Sep 24 15:41:53 2024 +0200 |
committer | Jeroen Dhollander <jeroendh@google.com> | Fri Sep 27 07:39:06 2024 +0000 |
tree | 5202a2637e632244e1afc742a60e6bb5231f91ff | |
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