mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Gustavsson (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FTPSERVER-376) [FindBugs] Possible null pointer dereference of passivePorts in PassivePorts::<init>
Date Tue, 07 Jun 2011 20:41:58 GMT

     [ https://issues.apache.org/jira/browse/FTPSERVER-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niklas Gustavsson closed FTPSERVER-376.
---------------------------------------

    Resolution: Fixed
      Assignee: Niklas Gustavsson

Closed by FTPSERVER-415

> [FindBugs] Possible null pointer dereference of passivePorts in PassivePorts::<init>
> ------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-376
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-376
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sergey Vladimirov
>            Assignee: Niklas Gustavsson
>            Priority: Minor
>              Labels: findbugs, npe
>             Fix For: 1.0.6, 1.1.0
>
>
> Possible null pointer dereference of passivePorts in PassivePorts::<init>(final
int[] passivePorts, boolean checkIfBound) (line 165)
> NPE can occur if passivePorts argument is null. But this code is internal and i can't
find a place that can pass null to the method. Anyway, suppose the case with null better be
handled (with creation of empty array)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message