-
Notifications
You must be signed in to change notification settings - Fork 2.6k
SSH credential crash #1706
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
SSH credential crash #1706
Conversation
|
Also also, I'm somewhat saddened about the "useless" error reporting (since I come here while trying to add remote fetching to Objective-Git). Would it be possible to have more meaningful error codes ? |
|
I'm not super familiar with this code, so I'd been hoping that someone with more knowledge of the networking code would comment. If no one else has been able to look at this by tomorrow, I'll dive in and check it out. |
|
Are you talking about the NULL callback crash or the error reporting ? I'm happy to take a look and check that in that PR if you want. |
|
✨ The new
} else {
giterr_set(GITERR_NET, "Cannot set up SSH connection without credentials");
goto on_error;
}
|
|
🎧 Also includes some error messages for SSH connection failures. Would a wrapper around |
|
@tiennou Let's get this merged first, but I do like the idea of wrapping |
|
Thanks @tiennou ! If you want to go further with the |
See #1700.
I was wondering about the direct
return -1while the rest usesgoto on_errorso I changed it.