[jira] [Commented] (VFS-189) Possible NPE in DefaultFileSystemManager

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Commented] (VFS-189) Possible NPE in DefaultFileSystemManager

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/VFS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119317#comment-16119317 ]

Bruno P. Kinoshita commented on VFS-189:
----------------------------------------

Fixed in 1804480. Created GitHub patch (i.e. opened pull request URL, and then replaced the last part by .patch as https://github.com/apache/commons-vfs/pull/10.patch). Then applied locally with `patch -p1 -i ~/Downloads/10.patch`.

Forgot to include in the commit message "This closes #10" so I am manually closing my pull request.

> Possible NPE in DefaultFileSystemManager
> ----------------------------------------
>
>                 Key: VFS-189
>                 URL: https://issues.apache.org/jira/browse/VFS-189
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: Fortify
>            Reporter: Henri Yandell
>            Assignee: Bruno P. Kinoshita
>              Labels: patch-available
>             Fix For: 2.0
>
>
> resolveName(FileName base, String, NameScope) does not protect from a null base variable and will lead to an exception on realBase.getPath() later on in the code.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...