Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(cli): prevent sqlDB leaks in ConnectToPostgres#10072

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 1 commit intomainfrommafredri/fix-cli-server-connecttopg
Oct 5, 2023

Conversation

mafredri
Copy link
Member

If a ping failed, we would not close the existingsqlDB instance, this refactor ofConnectToPostgres fixes that and a case where context cancellation may lead to a nil pointer dereference.

@mafredrimafredriforce-pushed themafredri/fix-cli-server-connecttopg branch fromc1dd875 tof10aeaaCompareOctober 5, 2023 09:24
@mafredrimafredri marked this pull request as ready for reviewOctober 5, 2023 12:24
@mafredrimafredri requested review fromcoadler anddeansheather and removed request forcoadlerOctober 5, 2023 12:24
@mafredrimafredri merged commit48ee80a intomainOct 5, 2023
@mafredrimafredri deleted the mafredri/fix-cli-server-connecttopg branchOctober 5, 2023 14:57
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 5, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

@kylecarbskylecarbskylecarbs approved these changes

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@mafredri@coadler@kylecarbs@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp