Skip to content

Add assertion to prevent buffer overflow #376

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

Merged
merged 1 commit into from
Mar 10, 2024
Merged

Conversation

vacantron
Copy link
Collaborator

The index n_insn or n_jumps might exceed the boundary of the allocated space. Check the index first before writing any value into the space.

The index `n_insn` or `n_jumps` might exceed the boundary of the
allocated space. Check the index first before writing any value into
the space.
@jserv jserv merged commit 343ece7 into sysprog21:master Mar 10, 2024
@jserv
Copy link
Contributor

jserv commented Mar 10, 2024

Thank @vacantron for contributing!

vestata pushed a commit to vestata/rv32emu that referenced this pull request Jan 24, 2025
Add assertion to prevent buffer overflow
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