mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 11:40:18 +01:00
If `array.append()` fails with an exception due to heap exhaustion, the next attempt to grow the buffer will cause a buffer overflow because the free slot count is increased before performing the allocation, and will stay as if the allocation succeeded. Signed-off-by: Yoctopuce <dev@yoctopuce.com>
28 KiB
28 KiB