Created
September 30, 2021 09:30
-
-
Save Bonveio/9c0b760200bcdc5a2fffc4d87fe9840f to your computer and use it in GitHub Desktop.
OpenSSH v8.7 kex.c patchfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- kex.c 2021-08-20 12:03:49.000000000 +0800 | |
| +++ kex.c 2021-08-21 12:03:49.000000000 +0800 | |
| @@ -1293,9 +1293,2 @@ | |
| } | |
| - /* Do not accept lines before the SSH ident from a client */ | |
| - if (ssh->kex->server) { | |
| - error_f("client sent invalid protocol identifier " | |
| - "\"%.256s\"", cp); | |
| - free(cp); | |
| - goto invalid; | |
| - } | |
| debug_f("banner line %zu: %s", n, cp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment