Date: Sun, 13 Sep 2009 18:45:59 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/syscons scterm-teken.c Message-ID: <200909131846.n8DIkCM9062305@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2009-09-13 18:45:59 UTC FreeBSD src repository Modified files: sys/dev/syscons scterm-teken.c Log: SVN rev 197174 on 2009-09-13 18:45:59Z by ed Make sure we never place the cursor outside the screen. For some vague reason, it may be possible that scp->cursor_pos exceeds scp->ysize * scp->xsize. This means that teken_set_cursor() may get called with an invalid position. Just ignore the old cursor position in this case. Reported by: Paul B. Mahol <onemda gmail com> MFC after: 1 month Revision Changes Path 1.13 +6 -3 src/sys/dev/syscons/scterm-teken.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909131846.n8DIkCM9062305>