freebsd-dev/sys/teken
Ed Schouten e06f6f7311 Place an upper bound on the number of iterations for REP.
Right now it's possible to invoke the REP escape sequence with a maximum
of tens of millions of iterations. In practice, there is never any need
to do this. Calling it more frequently than the number of cells in the
terminal hardly makes any sense. By placing a limit on it, we can
prevent users from exhausting resources in inside the terminal emulator.

As support for this escape sequence is not present in any of the stable
branches, there is no need to MFC.

Reported by:	https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11255
2019-02-19 21:58:23 +00:00
..
demo sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
libteken My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00
stress sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
gensequences Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
sequences Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
teken_scs.h Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
teken_subr_compat.h Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
teken_subr.h Place an upper bound on the number of iterations for REP. 2019-02-19 21:58:23 +00:00
teken_wcwidth.h Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
teken.c My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00
teken.h My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +00:00