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

Fix handlePgpass #1120

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Fix handlePgpass #1120

merged 1 commit into from
Apr 26, 2023

Conversation

acoshift
Copy link
Contributor

fixed #1119

Fix handlePgpass logic

  • Fix panic if contains empty line
  • Fix skip read line
  • Fix scanner not stop when found password

@otan
Copy link
Collaborator

otan commented Apr 26, 2023

test failure is #1079

@otan otan merged commit d8d93a3 into lib:master Apr 26, 2023
17 of 22 checks passed
@acoshift acoshift deleted the fix-pgpass branch April 26, 2023 05:41
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.

v1.10.8 break if .pgpass contains empty line
2 participants