Skip to content

Fix BltRegion::Full bounds check - #257

Merged
GabrielMajeri merged 2 commits into
rust-osdev:masterfrom
MaulingMonkey:pr-fix-bltregion-full-ob1-error
Jul 18, 2021
Merged

GabrielMajeri merged 2 commits into
rust-osdev:masterfrom
MaulingMonkey:pr-fix-bltregion-full-ob1-error

Conversation

@MaulingMonkey

Copy link
Copy Markdown
Contributor

Given a 4x4 16-pixel image, this would previously check if 4+4*4 (20) <= 16.

Given a 4x4 16-pixel image, this would previously check if 4+4*4 (20) <= 16.
@GabrielMajeri

Copy link
Copy Markdown
Collaborator

Thanks for catching this bug!

@GabrielMajeri GabrielMajeri changed the title Fix BltRegion::Full bounds check Fix BltRegion::Full bounds check Jul 18, 2021
@GabrielMajeri
GabrielMajeri merged commit 9dc10a1 into rust-osdev:master Jul 18, 2021
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