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 invalid pointer dereference in extract_ms_counter_certs #20

Closed
wants to merge 1 commit into from

Conversation

plusvic
Copy link

@plusvic plusvic commented Feb 9, 2024

I'm not quite sure if this fix is correct. It certainly prevents the SIGSEGV with file e9b3cadbd8fdb7a26a7130e7b40d4a99632fa6f767b0339385e5786d66015cfb, but I don't know if it is logically correct.

Closes #19

@HoundThe HoundThe self-requested a review February 12, 2024 17:34
@HoundThe
Copy link
Member

Thanks for the PR, however I think this problem struck into a thing that needs slight bigger modification. As now MS counter signature can be both PKCS7 and CMS with the latest changes. I will look into it, I need to recollect why the code is written this way :D

@HoundThe
Copy link
Member

I've created PR #21 that supersedes this fix. Closing this PR

@HoundThe HoundThe closed this Feb 13, 2024
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.

SIGSEGV caused by invalid pointer dereference in extract_ms_counter_certs
2 participants