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

Commits on May 31, 2022

  1. Fix a segfault in the git fetcher

    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)
    Théophane Hufschmitt authored and github-actions[bot] committed May 31, 2022
    Configuration menu
    Copy the full SHA
    bc47593 View commit details
    Browse the repository at this point in the history