[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22769] Null pointer dereference in gnu/java/security/x509
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22769] Null pointer dereference in gnu/java/security/x509/X509Certificate.java |
Date: |
16 Oct 2005 01:27:06 -0000 |
Lines 550-554 of X509Certificate.java:
if (val == null)
algVal = null;
else
algVal = val.getEncoded();
if (val.isConstructed())
...
If val is null, as checked by the test at line 550, a null pointer exception
will occur at line 554.
This bug was found with our static analysis tool for finding bugs in Java
programs, FindBugs:
http://findbugs.sourceforge.net/
------- Comment #1 from from-classpath at savannah dot gnu dot org 2005-01-12
21:16 -------
Fixed in CVS. The fix will be included in GNU classpath 0.14.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22769
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22769] Null pointer dereference in gnu/java/security/x509/X509Certificate.java,
gcc-bugzilla at gcc dot gnu dot org <=