mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-15 14:33:46 -04:00
csi: refactor CHT/CBT
Eliminate the outer loop, so that when moving the cursor multiple tab stops, we no longer iterate the tab stop list all over again. This also fixes a DoS flaw when passing a very large value as CHT/CBT argument, which may hang the terminal. Closes #2360
This commit is contained in:
parent
382e9a31c5
commit
66ec9fad88
2 changed files with 24 additions and 18 deletions
|
|
@ -94,11 +94,14 @@
|
|||
`meson.build` ([#2379][2379]).
|
||||
* Block selection area incorrectly updated when selecting back
|
||||
across the starting column.
|
||||
* Passing a very large value as CHT/CBT argument hangs the terminal
|
||||
([#2360][2360]).
|
||||
|
||||
[2353]: https://codeberg.org/dnkl/foot/issues/2353
|
||||
[2352]: https://codeberg.org/dnkl/foot/issues/2352
|
||||
[2327]: https://codeberg.org/dnkl/foot/issues/2327
|
||||
[2379]: https://codeberg.org/dnkl/foot/issues/2379
|
||||
[2360]: https://codeberg.org/dnkl/foot/issues/2360
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue