mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +00:00
9a71fa376b
When updating the row number when the cursor position escape sequence is issued, we should make sure to store the intermediate result in a 32-bit integer. If we fail to do this, the cursor may be set above the origin region, which is bad. This could cause libteken to crash when INVARIANTS is enabled, due to the strict set of assertions that libteken has. PR: 202540 Reported by: kcwu csie org MFC after: 1 month |
||
---|---|---|
.. | ||
demo | ||
libteken | ||
stress | ||
gensequences | ||
sequences | ||
teken_scs.h | ||
teken_subr_compat.h | ||
teken_subr.h | ||
teken_wcwidth.h | ||
teken.c | ||
teken.h |