Skip to content
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

Add bounds checking to recognized_symbols in dump_backtrace_impl #372

Merged
merged 1 commit into from
Jul 28, 2019

Conversation

DrewStratford
Copy link
Contributor

This adds a bounds check to the loop that writes to the buffer
'recognized_symbols'. This prevents buffer overflows in the
case when a programs backtrace is particularly large.

This fixes #371.

This adds a bounds check to the loop that writes to the buffer
'recognized_symbols'. This prevents buffer overflows in the
case when a programs backtrace is particularly large.
@awesomekling
Copy link
Collaborator

Fabulous :)

@awesomekling awesomekling merged commit 608fee9 into SerenityOS:master Jul 28, 2019
RyanGrieb pushed a commit to RyanGrieb/serenity that referenced this pull request Jul 28, 2019
…mpl (SerenityOS#372)

This adds a bounds check to the loop that writes to the buffer
'recognized_symbols'. This prevents buffer overflows in the
case when a programs backtrace is particularly large.

Fixes SerenityOS#371.
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.

Kernel: Buffer overflow in dump_backtrace_impl
2 participants