summaryrefslogtreecommitdiffstats
path: root/etc/shells
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-09-13 18:45:59 +0000
committered <ed@FreeBSD.org>2009-09-13 18:45:59 +0000
commitb1b257367ed19bea3ee42eb90df6e7b0973bbb39 (patch)
treeb7de95b3fb1092e3afc9f097eb2824440926c57b /etc/shells
parent314c72fba8b9e2cf50350d80b531ef304b48f9b0 (diff)
downloadFreeBSD-src-b1b257367ed19bea3ee42eb90df6e7b0973bbb39.zip
FreeBSD-src-b1b257367ed19bea3ee42eb90df6e7b0973bbb39.tar.gz
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
Diffstat (limited to 'etc/shells')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud