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 21:16:51 +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 21:16 (GMT)
    _______________________________________________________

                  Status:                    None -> Fixed                  
             Open/Closed:                    Open -> Closed                 

    _______________________________________________________

Follow-up Comment:
Fixed in CVS. The fix will be included in GNU classpath 0.14.

==============================================================================
 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: Fixed
                 Privacy: Public
             Assigned to: None
             Open/Closed: Closed
        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/



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mit 12.01.2005 um 21:16       By: Michael Koch <mkoch>
Fixed in CVS. The fix will be included in GNU classpath 0.14.








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

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]