You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/03/01 07:04:04 UTC

[jira] [Updated] (SSHD-423) DefaultSftpClient v4 'STAT' flags need to be initialized to 0xFFFF instead of 0

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

Goldstein Lyor updated SSHD-423:
--------------------------------
    Attachment: 0026-SSHD-423-DefaultSftpClient-v4-STAT-flags-need-to-be-.patch

Attached recommended patch

> DefaultSftpClient v4 'STAT' flags need to be initialized to 0xFFFF instead of 0
> -------------------------------------------------------------------------------
>
>                 Key: SSHD-423
>                 URL: https://issues.apache.org/jira/browse/SSHD-423
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 0.14.0
>            Reporter: Goldstein Lyor
>            Priority: Minor
>         Attachments: 0026-SSHD-423-DefaultSftpClient-v4-STAT-flags-need-to-be-.patch
>
>
> According to the [Protocol draft - section 6.8 |https://tools.ietf.org/html/draft-ietf-secsh-filexfer-03#section-6.8]:
> {panel}
> The flags field specify the attribute flags in which the client has  particular interest.
> {panel}
> The initialization to "0" basically says "not interested in anything", whereas I believe the _DefaultSftpClient_ actually means to say "give me all the attributes you can" - especially for the _'stat'_ command whose very essence is querying about _Attributes_. The reason I marked this bug as _minor_ is because this feature is not yet supported, and the *current* code returns all the available attributes. However, if / when support for this feature will be added, a bug will occur when the _DefaultSftpClient_ is used because of the initialization to "0".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)