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 segmentation fault in backup. #4314

Merged
merged 3 commits into from Dec 3, 2019
Merged

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Nov 23, 2019

Properly treat nil credentials in the S3 handler. Right now, restore
passes a nil credentials object. The S3 handler should handle it as
an empty set of credentials instead of failing with a segfault.

The existing test has been modified to use restore with a minio endpoint,
which triggers the bug.


This change is Reviewable

Properly treat nil credentials in the S3 handler. Right now, restore
passes a nil credentials object. The S3 handler should handle it as
an empty set of credentials instead of failing with a segfault.
@martinmr martinmr requested review from manishrjain and a team as code owners November 23, 2019 00:24
Copy link
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@martinmr martinmr merged commit d10d2c8 into master Dec 3, 2019
@martinmr martinmr deleted the martinmr/backup-creds-nil-fix branch December 3, 2019 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants