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

Prevent segfault after ctx_finish(). #511

Closed
wants to merge 1 commit into from
Closed

Conversation

popovec
Copy link
Member

@popovec popovec commented Sep 4, 2023

Fixes #509

At the same time, it tightens the condition in the test that made it impossible to indicate this segfault.

modified:   src/eng_front.c
modified:   tests/search-all-matching-tokens.softhsm

Fixes OpenSC#509

At the same time, it tightens the condition in the test that made it
impossible to indicate this segfault.

	modified:   src/eng_front.c
	modified:   tests/search-all-matching-tokens.softhsm
@mtrojnar
Copy link
Member

mtrojnar commented Sep 4, 2023

Fixes #509

No, it doesn't. It only hides a bug in SoftHSMv2.

The issue was fixed in opendnssec/SoftHSMv2@1ecfde4 and then broken again by @agrandville in opendnssec/SoftHSMv2@f1a8474.

Also see opendnssec/SoftHSMv2#181.

@popovec
Copy link
Member Author

popovec commented Sep 4, 2023

Ok, thanks for the link to the problem with softhsm. I am canceling this PR.

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.

testsuite: hidden Segmentation fault
2 participants