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 issue #11, segfault in shine_BF_freePartHolder #12

Merged
merged 1 commit into from
Mar 29, 2014

Conversation

felixmulder
Copy link
Contributor

config->formatbits.side_info.headerPH and
config->formatbits.side_info.frameSIPH are allocated at the same time
thus checking one of them should be sufficient to ensure that an unsafe
free is not performed. Other solutions would be to check for NULL in
shine_BF_freePartHolder, but this is faster.

config->formatbits.side_info.headerPH and
config->formatbits.side_info.frameSIPH are allocated at the same time
thus checking one of them should be sufficient to ensure that an unsafe
free is not performed. Other solutions would be to check for NULL in
shine_BF_freePartHolder, but this is faster.
toots added a commit that referenced this pull request Mar 29, 2014
fix issue #11, segfault in shine_BF_freePartHolder
@toots toots merged commit 7c6b529 into toots:master Mar 29, 2014
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