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

Improve VGA palette parser #604

Merged
merged 3 commits into from
Mar 22, 2024
Merged

Improve VGA palette parser #604

merged 3 commits into from
Mar 22, 2024

Conversation

vinc
Copy link
Owner

@vinc vinc commented Mar 22, 2024

I discovered while fuzzing the VGA driver by reading /dev/random to the console for long enough (#602) that the default behavior when parsing an ANSI OSC color palette (#566) was to set the background to black when an invalid input was received.

This change will now reject invalid inputs.

@vinc vinc marked this pull request as ready for review March 22, 2024 13:45
@vinc vinc merged commit 9143355 into trunk Mar 22, 2024
1 check passed
@vinc vinc deleted the feature/vga-palette-parser branch March 22, 2024 13:45
@vinc vinc mentioned this pull request Jun 18, 2024
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