mirror of
git://git.suckless.org/st
synced 2025-12-18 05:03:07 +01:00
Previously, printf 'L\033[2147483647b' would call tputc('L') 2^31 times,
making st unresponsive. This commit allows repeating the last character
at most 65535 times in order to prevent freezing and DoS attacks.
56 KiB
56 KiB