bernii / embedded-graphics-framebuf

Generic framebuffer implementation in Rust for use with embedded-graphics library
MIT License
26 stars 6 forks source link

There is no boundary check when writing to the framebuf #2

Closed pyaillet closed 2 years ago

pyaillet commented 2 years ago

Hi! Thank you for making embedded-graphics-framebuf.

I face a panic when using this library when writing outside of the defined dimensions.

Would you be interested in a PR adding this checks ? I'm planning to add it for my own use anyway.