CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2023/07/24 13:38:48
Modified files: sys/dev/wscons : Tag: OPENBSD_7_3 wsemul_sun.c wsemul_vt100.c Log message: Make sure we do not increase the escape sequence argument count beyond usable bounds, in case escape sequences end up with too many semicolons. Without this, the kernel could be made to access random memory after receiving some specially crafted DCS or CSI terminal escape sequences. Reported by David Leadbeater (dgl, dgl dot cx) from miod@