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

nix: Add forgotten null check in AttrCursor::getListOfStrings() #6489

Merged
merged 2 commits into from
May 5, 2022

Conversation

alexshpilkin
Copy link
Member

Fixes #6488.

This is in no way perfect (a test would be nice, for one thing), but to my (inexperienced) eyes it seems to point out the problem, so feel free to either tell me how you’d like this packaged or just take and rewrite it.

Copy link
Member

@thufschmitt thufschmitt left a comment

Choose a reason for hiding this comment

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

Thanks :)

I’ve pushed a quick test (far from ideal, but I’m not sure how we can reliably test something like that without putting in a significant effort which is out of scope here), looks good otherwise 👍

I’ll just wait for the CI to finish and merge (don’t hesitate to ping me if I forget)

@edolstra edolstra merged commit f4102de into NixOS:master May 5, 2022
@Artturin
Copy link
Member

Artturin commented May 6, 2022

another bug that may be related to #6426
#6500

@alexshpilkin alexshpilkin deleted the fix-6488 branch May 6, 2022 22:01
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.

nix build --impure segfault outputsToInstall
4 participants