Skip to content

Comments

fix: improve memory safety to prevent an OOB#76

Open
ggielly wants to merge 1 commit intoHpmason:masterfrom
ggielly:fix/builder-oob-read
Open

fix: improve memory safety to prevent an OOB#76
ggielly wants to merge 1 commit intoHpmason:masterfrom
ggielly:fix/builder-oob-read

Conversation

@ggielly
Copy link

@ggielly ggielly commented Jan 10, 2026

  • Add memory region validation to prevent out-of-bounds reads

The builder now queries the memory region of the target address to ensure it's executable and calculates the maximum number of bytes that can be safely read : this is preventing potential out-of-bounds memory access. If the region is not executable or too small, an appropriate error is returned.

…out-of-bounds reads in build() - Ensure the target address is within an executable memory region
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