diff options
| author | Jeff Epler <jepler@gmail.com> | 2025-08-05 17:19:02 -0500 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-08-15 01:16:24 +1000 |
| commit | e15219800e4874a6c2653cfbdd0553c37610aeff (patch) | |
| tree | 60329b785cb46c56921fcc24d3c9345c95def876 /tests/micropython/ringio_big.py | |
| parent | 2bba507148e8a751123257fa2b075c70d67e1160 (diff) | |
extmod/modframebuf: Fix crash in scroll() for large inputs.
If mp_int_t is wider than int, then the tests such as `xend < 0` can fail
even when the amount of scrolling requested is out of range. This resulted
in a segmentation fault when attempting an out-of-bounds access to the
framebuffer.
Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/micropython/ringio_big.py')
0 files changed, 0 insertions, 0 deletions
