mirror of
https://github.com/micropython/micropython.git
synced 2026-03-12 03:40:28 +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>
3 lines
42 B
Plaintext
3 lines
42 B
Plaintext
<class 'ValueError'>
|
|
<class 'ValueError'>
|