From 74f740c975782a35fd2438b73f59ef89bbf64f46 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Sun, 16 May 2021 19:38:00 +0100 Subject: vt: limit maximum value of params in vt_param_get() So that the value is clamped to the range [0, 0x7fffffff] and retains the same value, regardless of whether it's interpreted as a signed or unsigned integer. Closes #522 --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 658faa35..8cbe3eba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -108,6 +108,8 @@ * Fonts sometimes not being reloaded with the correct scaling factor when `dpi-aware=no`, or `dpi-aware=auto` with monitor(s) with a scaling factor > 1 (https://codeberg.org/dnkl/foot/issues/509). +* Crash caused by certain CSI sequences with very large parameter + values (https://codeberg.org/dnkl/foot/issues/522). ### Security -- cgit v1.3