Skip to content

Conversation

@ate47
Copy link

@ate47 ate47 commented Oct 10, 2023

Hello,

In the C++ libdebug code, the write methods are using size_t vector::size(), but the size of size_t isn't 4 bytes by default. In my version sizeof(size_t) = 8, so it was creating a buffer overflow.

This PR fixes it for the LoadElf/KernelWriteMemory/WriteMemory methods, but maybe it's used somewhere else.

Thanks for the lib itself.

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.

1 participant