Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 2, 2022

The fuzzer found yet another overflow.

We could make MinidumpMemory check for self.base_address + self.size being in bounds on construction, but I guess it's better to do it when you actually go to use it, since directly asking for the base address/size still works.

Still, that leads to cases like this.

Copy link
Collaborator

@Gankra Gankra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@luser luser merged commit a324199 into rust-minidump:master Feb 3, 2022
@ghost ghost deleted the overflow-bounds-check branch February 3, 2022 20:43
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