]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use proper bounds checking on VPA.
authored <ed@FreeBSD.org>
Sun, 5 Dec 2010 10:15:23 +0000 (10:15 +0000)
committered <ed@FreeBSD.org>
Sun, 5 Dec 2010 10:15:23 +0000 (10:15 +0000)
commitfb1c48789ea475d4f325412db997363968b23e92
tree7800ae6521ab1c6fe36b86d915b6ccfe654248d2
parent1fc00c1bd7e0da3183e7e3bbede72568201b7cbe
Use proper bounds checking on VPA.

We must check against tp->t_cursor.tp_row, not row, to figure out
whether we must clamp the cursor position.

Submitted by: luigi
MFC after: 3 weeks
sys/teken/teken_subr.h