Skip to content

Instantly share code, notes, and snippets.

@Bonveio
Created September 30, 2021 09:30
Show Gist options
  • Select an option

  • Save Bonveio/9c0b760200bcdc5a2fffc4d87fe9840f to your computer and use it in GitHub Desktop.

Select an option

Save Bonveio/9c0b760200bcdc5a2fffc4d87fe9840f to your computer and use it in GitHub Desktop.
OpenSSH v8.7 kex.c patchfile
--- 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