|
From: | mwringe at redhat dot com |
Subject: | [Bug crypto/28204] PBEKeySpec incorrectly deletes the originally passed password array |
Date: | 29 Jun 2006 21:16:11 -0000 |
------- Comment #1 from mwringe at redhat dot com 2006-06-29 21:16 ------- Created an attachment (id=11781) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11781&action=view) Patch to copy the passed array instead of referencing the original array This patch makes the PBEKeySpec's password a copy of the passed password array instead of referencing it. Now when the PBEKeySpec's clearPassword method is invoked, only its stored copy will be cleared. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28204
[Prev in Thread] | Current Thread | [Next in Thread] |