Skip to content

Conversation

@cweiske
Copy link
Contributor

@cweiske cweiske commented Nov 21, 2025

The ssh2 extension segfaults in certain circumstances when using ssh2_auth_pubkey and ssh2_auth_pubkey_file without a password.

This has been reported 2020-06-15 at https://bugs.php.net/bug.php?id=79702 and a patch was provided at 2021-04-09 by thomas at shadowweb dot org.

This PR contains two commits:

  • Thomas' original patch for ssh2_auth_pubkey_file
  • A patch for ssh2_auth_pubkey that was added after the original patch had been written.

Resolves: https://bugs.php.net/bug.php?id=79702

Thomas and others added 2 commits November 21, 2025 15:45
@langemeijer langemeijer merged commit a0621be into php:master Nov 23, 2025
0 of 24 checks passed
@langemeijer
Copy link
Collaborator

Thank you

@cweiske
Copy link
Contributor Author

cweiske commented Nov 23, 2025

Thanks for merging so quickly.

@cweiske cweiske deleted the pubkey-segfault branch November 23, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants