Skip to content

TOOLS-3923 Fix segfault that can happen when connection fails #814

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

FGasper
Copy link
Collaborator

@FGasper FGasper commented Jul 15, 2025

This fixes a segfault introduced when addressing TOOLS-2722 (PR #551). It also makes a ShouldAskForPassword() check tolerate nil Auth.

It was considered to add tolerance of nil SSL, but there are places in the options normalization that set values of the SSL struct, and it’s unclear whether it’s safe to alter a nil SSL struct in order to set those values.

@FGasper FGasper requested review from a team and shyam12860 and removed request for a team July 15, 2025 15:09
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.

1 participant