mirror of
git://git.suckless.org/st
synced 2026-02-13 16:17:05 +01:00
st: guard tsetdirt() against zero-sized terminal
tsetdirt() assumes term.row > 0. During early init or resize paths this may not hold, leading to out-of-bounds access. Bail out early if there are no rows.
This commit is contained in:
committed by
Hiltjo Posthuma
parent
0723b7e39e
commit
688f70add0