Skip to content
Snippets Groups Projects
Commit e2cb3acd authored by Christian Kandeler's avatar Christian Kandeler
Browse files

SSH: Fix parsing of server id.


The current implementation is a bit sloppy, so one can construct certain
invalid strings that will be accepted as well as certain valid ones that
will be rejected. The new checks are much more precise.
Most importantly in practice, the version string "1.99" sent by some
older servers is now accepted, as required by the RFC.

Change-Id: Ib35c27d3a3bc4aea259b9a0dad66817435d95c0a
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 3df129d4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment