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 allocation from stack bug. #161

Merged

Conversation

jeromekelleher
Copy link
Contributor

For large numbers of SNPs allocating from the stack caused a segfault.
This fixes the issue by allocating from the heap with malloc.

For large numbers of SNPs allocating from the stack caused a segfault.
This fixes the issue by allocating from the heap with malloc.
andrewjpage added a commit that referenced this pull request Feb 29, 2016
@andrewjpage andrewjpage merged commit 1b4b312 into nickjcroucher:master Feb 29, 2016
@andrewjpage
Copy link
Contributor

Thanks a million for the bug fix.

@jeromekelleher jeromekelleher deleted the fix-stack-allocation2 branch February 29, 2016 18:25
@jeromekelleher
Copy link
Contributor Author

No worries!

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