Skip to content

Always check TileGrid's x, y#1755

Merged
dhalbert merged 1 commit intoadafruit:masterfrom
tannewt:fix_tilegrid_bounds_check
Apr 5, 2019
Merged

Always check TileGrid's x, y#1755
dhalbert merged 1 commit intoadafruit:masterfrom
tannewt:fix_tilegrid_bounds_check

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Apr 5, 2019

When using an int index you could end up writing past the end of
TileGrid's memory.

Fixes #1747

When using an int index you could end up writing past the end of
TileGrid's memory.

Fixes micropython#1747
@tannewt tannewt added this to the 4.0.0 - Bluetooth milestone Apr 5, 2019
@tannewt tannewt requested a review from dhalbert April 5, 2019 20:15
Copy link
Copy Markdown
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Another 🐛 gone!

@dhalbert dhalbert merged commit 8b9e933 into adafruit:master Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants