hg: jdk8/tl/jdk: 8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit

xueming.shen at oracle.com xueming.shen at oracle.com
Tue May 14 21:21:54 UTC 2013


Changeset: c70fff3db913
Author:    sherman
Date:      2013-05-14 14:20 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/c70fff3db913

8014217: Base64.getXDecoder().wrap(...).read() doesn't throw exception for an incorrect number of padding chars in the final unit
Summary: to throw IOE for malformed final unit in base64 stream
Reviewed-by: chegar, alanb

! src/share/classes/java/util/Base64.java
! test/java/util/Base64/TestBase64.java




More information about the security-dev mailing list