diff options
| author | Paul Duffin <paulduffin@google.com> | 2016-07-05 14:03:08 +0100 |
|---|---|---|
| committer | Paul Duffin <paulduffin@google.com> | 2016-07-06 09:46:35 +0100 |
| commit | 3683e911af7dde39dc7b4a8bbf4dc9e30e6e91ea (patch) | |
| tree | e6a953c364acd7ec8f4905990c338e76709d51ec /include/ScopedJavaUnicodeString.h | |
| parent | b7bbe77d0ca5be3115ddb151902c118588f95625 (diff) | |
Make ChoiceFormat take defensive copies of its arrays
Findbugs reported some problems with ChoiceFormat and how it
handles its internal arrays. The upstream bug number is 8001209
but it's not visible in the externally visible database,
presumably because it's a security issue.
This adds tests to check that the internal arrays are not
visible externally in any way and the patch to ensure that those
tests pass.
Bug: 29352743
Testing: Added tests, ran tests, tests failed, applied fix,
tests passed.
Change-Id: I2595acb9bc8845c1a28bd8507a0a431cb970f8b9
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
