summaryrefslogtreecommitdiff
path: root/py/makeversionhdr.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2023-10-04 22:13:18 +1100
committerDamien George <damien@micropython.org>2023-10-16 12:17:51 +1100
commitd040478d8aad7a05aac98651ec6ac5c2e9265a22 (patch)
tree78d13c2ebea6c041c5a609813ee6c3c1f662c318 /py/makeversionhdr.py
parenta1be5e1439c9c3056d9073981c4301bb1c5e17be (diff)
extmod/modframebuf: Validate FrameBuffer bounds against input buffer.
This ensures that the buffer is large enough for the specified width, height, bits-per-pixel, and stride. Also makes the legacy FrameBuffer1 constructor re-use the FrameBuffer make_new to save some code size. Fixes issue #12562. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/makeversionhdr.py')
0 files changed, 0 insertions, 0 deletions