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

Zero samples give undefined behaviour on tree iteration #515

Closed
jeromekelleher opened this issue Jun 13, 2018 · 0 comments
Closed

Zero samples give undefined behaviour on tree iteration #515

jeromekelleher opened this issue Jun 13, 2018 · 0 comments
Labels
Milestone

Comments

@jeromekelleher
Copy link
Member

If a tree sequence is built that has zero samples the root tracking is not working correctly and leads to accessing arbitrary memory and possibly segfaulting.

Thanks to @awohns for finding the issue.

@jeromekelleher jeromekelleher added this to the Release 0.6.0 milestone Jun 13, 2018
jeromekelleher added a commit to mcveanlab/msprime that referenced this issue Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant