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: Michael Koch
Subject: [commit-cp] [bugs #9947] Null pointer dereference in gnu/java/security/x509/X509Certificate.java
Date: Wed, 12 Jan 2005 06:55:24 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; i686; de) (KHTML, like Gecko)

This is an automated notification sent by Savannah.
It relates to:
                bugs #9947, project classpath

==============================================================================
 LATEST MODIFICATIONS of bugs #9947:
==============================================================================

               Posted by: Michael Koch <mkoch>
               Posted on: 2005-01-12 06:55 (GMT)
    _______________________________________________________

                Category:                    None -> classpath              


==============================================================================
 OVERVIEW of bugs #9947:
==============================================================================

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9947>

                 Summary: Null pointer dereference in
gnu/java/security/x509/X509Certificate.java
                 Project: classpath
            Submitted by: None
            Submitted on: Mon 09.08.2004 um 21:20
                Category: classpath
                Severity: 5 - Average
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________


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/








==============================================================================

This item URL is:
  <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]