[cp-patches] RFC: Crypto PBEKeySpec password references

Matthew Wringe mwringe at redhat.com
Thu Jun 29 22:24:22 UTC 2006


Hi,

I have attached a very small patch that fixes PR28204 : PBEKeySpec
incorrectly deletes the originally passed password array
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28204)

Instead of taking a reference to the passed password, it now creates a
copy of it.

Thanks,

Matt Wringe

Changelog:

2006-06-29  Matt Wringe  <mwringe at redhat.com>

	* javax/crypto/spec/PBEKeySpec.java (PBEKeySpec): Password now a copy
	instead of a reference 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Crypto-PBEKeySpec.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060629/64ebf318/Crypto-PBEKeySpec.bin


More information about the Classpath-patches mailing list