Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nse_libssh2.cc - callback fix #2924

Closed
wants to merge 1 commit into from
Closed

Conversation

junedic
Copy link

@junedic junedic commented Aug 30, 2024

Callback needs to return 1 to hit the callback error check immediately after it is called in userauth.c, since the user/key combination is confirmed at this point.
Otherwise execution runs into memory corruption errors, with further authentication procedures not being implemented for publickey_canauth().

Callback needs to return 1 to hit the callback error check immediately after it is called in userauth.c, since nothing is being signed.
@nnposter
Copy link

I believe that this is indeed the core issue but the surrounding code needs a little more work. Stay tuned.

@junedic
Copy link
Author

junedic commented Sep 1, 2024

Addressed by #2925

@junedic junedic closed this Sep 1, 2024
@nnposter
Copy link

nnposter commented Sep 1, 2024

@junedic I will credit you in the changelog once the PR gets committed. Thank you for contributing to Nmap!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants