Bug fix -- version grepping in compat.c

Hamon, Brian K. brhamon at cisco.com
Sat Dec 2 08:39:46 EST 2000


In OpenSSH-2.3.0, in the file ssh/compat.c, line 61 the line:

       { "^OpenSSH[-_]2\\.[012]", SSH_OLD_SESSIONID },

Will not match another OpenSSH-2.3.0 client. The quick fix is to add "3" to 
the regular expression as follows:

       { "^OpenSSH[-_]2\\.[0123]", SSH_OLD_SESSIONID },

The same bug is in the portable release, but the line number is 65.






More information about the openssh-unix-dev mailing list