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

[Backport 2.9-maintenance] Fix a segfault in the git fetcher #6597

Merged
merged 1 commit into from
May 31, 2022

Conversation

github-actions[bot]
Copy link

Bot-based backport to 2.9-maintenance, triggered by a label in #6582.

The git fetcher code used to dereference the (potentially empty) `ref`
input attribute. This was magically working, probably because the
compiler somehow outsmarted us, but is now blowing up with newer nixpkgs
versions.

Fix that by not trying to access this field while we don't know for sure
that it has been defined.

Fix #6554

(cherry picked from commit 027fd45)
@edolstra edolstra merged commit 53555df into 2.9-maintenance May 31, 2022
@edolstra edolstra deleted the backport-6582-to-2.9-maintenance branch May 31, 2022 15:19
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.

2 participants