Commit graph

1 commit

Author SHA1 Message Date
b0175bb2f7 ringio: Detect incorrect constructor calls.
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.

Closes: #17847
Signed-off-by: Jeff Epler <jepler@gmail.com>
2025-08-13 08:39:52 -05:00