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

Aggressively guard against invalid client.Client #197

Merged
merged 1 commit into from
Jul 23, 2021

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Jul 23, 2021

  • add check to mbxs.Login() to fail on nil *client.Client
  • add multiple checks to mbxs.Connect() to handle failed
    DNS lookups, empty net.IP conversions, empty filter results,
  • create mbxs.openConnection() helper func in an effort to
    prepare for future retry support

fixes GH-190

- add check to `mbxs.Login()` to fail on nil `*client.Client`
- add multiple checks to `mbxs.Connect()` to handle failed
  DNS lookups, empty net.IP conversions, empty filter results,
- create `mbxs.openConnection()` helper func in an effort to
  prepare for future retry support

refs GH-190
@atc0005 atc0005 added this to the Next Release milestone Jul 23, 2021
@atc0005 atc0005 self-assigned this Jul 23, 2021
@atc0005 atc0005 merged commit 3e201c8 into master Jul 23, 2021
@atc0005 atc0005 deleted the i190-add-guards-against-client-nil-pointer-deref branch July 23, 2021 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant