6682411: JCK test failed w/ ArrayIndexOutOfBoundException (-1) when decrypting with no data

Fixed PKCS5Padding class with additional check and throw BadPaddingException if the check failed

Reviewed-by: wetmore
1 file changed