bug-classpath
[Top][All Lists]
Advanced

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

[bug-classpath] [Bug classpath/22992] New: Null pointer dereferences in


From: pinskia at gcc dot gnu dot org
Subject: [bug-classpath] [Bug classpath/22992] New: Null pointer dereferences in javax.security.sasl.Sasl
Date: 26 Jul 2005 16:04:15 -0000

In classpath-0.15:



In class javax.security.sasl.Sasl, at line 451, the following

code occurs:



   if (providers == null)

      {

        Provider p;

        String key;

        for (int i = 0; i < providers.length; i++)

          {



Probably the != operator was meant instead.



Almost identical code (with the same error) occurs at

line 643.



Found by FindBugs, http://findbugs.sourceforge.net


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-26 
16:04 -------
Confirmed.

-- 
           Summary: Null pointer dereferences in javax.security.sasl.Sasl
           Product: classpath
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: from-classpath at savannah dot gnu dot org
                CC: bug-classpath at gnu dot org


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




reply via email to

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