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

Append MS countersignature certificates to the Authenticode signature certs #21

Merged
merged 5 commits into from
Feb 13, 2024

Conversation

HoundThe
Copy link
Member

@HoundThe HoundThe commented Feb 13, 2024

Code was missing copying over MS signatures certificates when it is using a CMS format, this is fixed in the PR.

I've realized why it wasn't written in this way before, I didn't want to write all the deep copy functions, however now that we have CMS aswell I can't avoid it anymore.

Also closes #19

Also found and fixed memory leak when parsing counter signature

src/authenticode.c Outdated Show resolved Hide resolved
@HoundThe HoundThe merged commit d538f33 into master Feb 13, 2024
4 checks passed
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