summaryrefslogtreecommitdiff
path: root/ports/unix/variants/coverage/mpconfigvariant.h
diff options
context:
space:
mode:
authorYonatan Goldschmidt <yon.goldschmidt@gmail.com>2019-12-17 22:40:40 +0200
committerDamien George <damien.p.george@gmail.com>2020-01-12 13:09:23 +1100
commitdce590c29dbefea253f4034c4bde3508f205364e (patch)
treef2b230fe4099570b38faff348d939238ec6abf9d /ports/unix/variants/coverage/mpconfigvariant.h
parentdf5c3bd97654c3719a62bb66627b4b538aa04b0f (diff)
lib/mp-readline: Add an assert() to catch buffer overflows.
During readline development, this function may receive bad `pos` values. It's easier to understand the assert() failing error than to have a "stack smashing detected" message.
Diffstat (limited to 'ports/unix/variants/coverage/mpconfigvariant.h')
0 files changed, 0 insertions, 0 deletions