mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
ringbuffer.size must be at least 2, and is a 16-bit quantity. This fixes several cases including the one the fuzzer discovered, which would lead to a fatal signal when accessing the object. Fixes issue #17847. Signed-off-by: Jeff Epler <jepler@gmail.com>
4.8 KiB
4.8 KiB