You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Peter Nagy (JIRA)" <ji...@apache.org> on 2012/10/16 18:09:03 UTC
[jira] [Created] (SSHD-197) IOExceptions thrown from SshFile can
cause NPE
Peter Nagy created SSHD-197:
-------------------------------
Summary: IOExceptions thrown from SshFile can cause NPE
Key: SSHD-197
URL: https://issues.apache.org/jira/browse/SSHD-197
Project: MINA SSHD
Issue Type: Bug
Affects Versions: 0.8.0, 0.7.0
Reporter: Peter Nagy
Priority: Trivial
if you create an exception without message, then getMessage() returns null. There are a few places where we catch an IOException, and then use the message without checking for null-ness
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-197) IOExceptions thrown from SshFile can
cause NPE
Posted by "Peter Nagy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Nagy updated SSHD-197:
----------------------------
Attachment: apache_sshd_ioexception.patch
this patch fixes it in the two places I've encountered
> IOExceptions thrown from SshFile can cause NPE
> ----------------------------------------------
>
> Key: SSHD-197
> URL: https://issues.apache.org/jira/browse/SSHD-197
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.7.0, 0.8.0
> Reporter: Peter Nagy
> Priority: Trivial
> Attachments: apache_sshd_ioexception.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> if you create an exception without message, then getMessage() returns null. There are a few places where we catch an IOException, and then use the message without checking for null-ness
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira