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

Fix writing out of array bounds #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

sk-io
Copy link

@sk-io sk-io commented May 8, 2022

Here, set_gdt_entry is called with num = 6 on array g_gdt_entries of size 6, potentially causing memory corruption.

This lead to a crash loop when building with i686-elf-gcc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant