commit | 3f8d64078d49672f6301661baa59d24f1d2b74c0 | [log] [tgz] |
---|---|---|
author | Marcus Oakland <marcus.oakland@arm.com> | Wed May 14 13:32:50 2014 +0100 |
committer | Kenny Root <kroot@android.com> | Fri May 16 17:16:49 2014 +0000 |
tree | 66930d9c3c2203236144154975293b19ad6cc842 | |
parent | e526e75cfe12c2908d37b03562ac48a5bbefdf11 [diff] |
Fix of native crash in the evpUpdate method The org.apache.harmony.security.tests.java.security.MessageDigest1Test CTS test class's testSHAProvider method was causing a SIGSEGV when "md.update(bytes, 1, -1);" was called, as the evpUpdate method was not checking for the inLength parameter being negative. This has been rectified and the test now passes. Bug: 14821275 Change-Id: I94489a518f7a2d4a6e84e58f91d8eee6f0ceb045 Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>