commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #9947] Null pointer dereference in gnu/java/security/x


From: anonymous
Subject: [commit-cp] [bugs #9947] Null pointer dereference in gnu/java/security/x509/X509Certificate.java
Date: Mon, 09 Aug 2004 17:24:31 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8

This mail is an automated notification from the bugs tracker
 of the project: classpath.




/**************************************************************************/
[bugs #9947] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9947>
Project: classpath
Submitted by: 0
On: Mon 08/09/2004 at 21:20

Category:  None
Severity:  5 - Average
Resolution:  None
Assigned to:  None
Status:  Open
Platform Version:  None


Summary:  Null pointer dereference in 
gnu/java/security/x509/X509Certificate.java

Original Submission:  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/












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9947>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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