[
https://issues.apache.org/jira/browse/SSHD-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219007#comment-16219007
]
Guillaume Nodet edited comment on SSHD-738 at 10/25/17 4:31 PM:
----------------------------------------------------------------
I removed the warning.
https://github.com/apache/mina-sshd/commit/fb4e1fdf0aafbe39c054a13f08f414730d996cca
It's true the client is faulty, however, there's really no harm that can be
caused at all, as it happens during disconnect, so I don't think it's worth
flooding the log. If there was other know bugs in those OpenSSH old versions,
it could make sense to add a warning, but I don't think that's the case.
In addition, I don't think most SSH clients use the language tag at all, so
this really gives us no benefits to not be lenient in this case.
was (Author: gnt):
I removed the warning.
It's true the client is faulty, however, there's really no harm that can be
caused at all, as it happens during disconnect, so I don't think it's worth
flooding the log. If there was other know bugs in those OpenSSH old versions,
it could make sense to add a warning, but I don't think that's the case.
In addition, I don't think most SSH clients use the language tag at all, so
this really gives us no benefits to not be lenient in this case.
> "BufferException: Underflow" warning is frequently reported
> -----------------------------------------------------------
>
> Key: SSHD-738
> URL: https://issues.apache.org/jira/browse/SSHD-738
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.2.0
> Environment: Gerrit Code Review
> Reporter: David Ostrovsky
> Assignee: Guillaume Nodet
> Labels: monitor
> Fix For: 1.7.0
>
>
> Since upgrade to 1.2.0 Gerrit users report this warning being frequently
> reported:
> {noformat}
> [2017-04-05 09:21:22,246] [sshd-SshServer[3b6c7bae]-nio2-thread-18] WARN
> org.apache.sshd.server.session.ServerSessionImpl :
> exceptionCaught(ServerSessionImpl[xxxx@/yyyyy:47277])[state=Opened]
> BufferException: Underflow
> {noformat}
> It worth mention, that other SSHD users reported similar problem:
> https://jira.atlassian.com/browse/BAM-17773.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)