diff options
author | Kenny Root <kroot@google.com> | 2011-07-28 15:13:33 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-08-04 11:51:38 -0700 |
commit | 1137341885d8dc451dddc2e01319fb0fab00bbc3 (patch) | |
tree | d6c4e2d8c0ab8f2ed24cd7d2ed9e84ee1d63086e /docs/html/sdk/api_diff/14/changes | |
parent | 62c7b37590b1a692384a55949d3b9eba221a3652 (diff) |
Throw exception on odd length Signatures
The old version of this code would silently truncate odd-length
Signatures. However, this masks some bugs. Add a throw of
IllegalArgumentException so users can easily see where they're getting
bad input for Signatures.
Also, go through the existing code and catch this exception or
pre-check the input strings so system_server doesn't crash later.
Bug: 5092338
Change-Id: I8c672c5eaeb738a92c4581ce0df09baf719980ef
Diffstat (limited to 'docs/html/sdk/api_diff/14/changes')
0 files changed, 0 insertions, 0 deletions