Skip to content

fix: MINIDUMP_EXCEPTION parsing - #38

Merged
skelsec merged 2 commits into
skelsec:mainfrom
iPower:fix-exception-parsing
Dec 18, 2023
Merged

fix: MINIDUMP_EXCEPTION parsing#38
skelsec merged 2 commits into
skelsec:mainfrom
iPower:fix-exception-parsing

Conversation

@iPower

@iPower iPower commented Dec 18, 2023

Copy link
Copy Markdown
Contributor

Context

A friend of mine was trying this library because he needs to parse some minidumps for a private project. Everything worked fine, except for the MINIDUMP_EXCEPTION parsing. Since the code wasn't actually considering the size of ExceptionInformation, it was leading to incorrect parsing of ThreadContext from MINIDUMP_EXCEPTION_STREAM.

Solution

Very simple! Just read the entire field and then copy the actual parameters, which is what this PR achieves.

@skelsec
skelsec merged commit 04113f5 into skelsec:main Dec 18, 2023
@skelsec

skelsec commented Dec 18, 2023

Copy link
Copy Markdown
Owner

Cool! Thank you!

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