You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2010/09/22 09:54:38 UTC
[jira] Updated: (FTPSERVER-376) [FindBugs] Possible null pointer
dereference of passivePorts in PassivePorts::
[ https://issues.apache.org/jira/browse/FTPSERVER-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-376:
----------------------------------------
Fix Version/s: 1.0.6
(was: 1.1.0)
(was: 1.0.5)
> [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
> Priority: Minor
> Fix For: 1.0.6
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.