bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/24191] Uninitialized output buffer in javax.crypto.Cipher


From: mwringe at redhat dot com
Subject: [Bug classpath/24191] Uninitialized output buffer in javax.crypto.CipherOutputStream produces NullPointerException
Date: 31 May 2006 20:19:06 -0000


------- Comment #3 from mwringe at redhat dot com  2006-05-31 20:19 -------
I have attached a patch that fixes this NullPointerException, outBuffer is now
allocated using the Cipher.getOutputSize length.

Once you get past this NullPointerException, there is also another issue with
blocks not being encrypted in the correct order. The attached patch also fixes
this issue.


-- 

mwringe at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mwringe at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24191





reply via email to

[Prev in Thread] Current Thread [Next in Thread]