mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.2322
Problem: Access memory beyond the end of the line. (Dominique Pelle) Solution: Adjust the cursor column.
This commit is contained in:
@@ -2479,6 +2479,7 @@ onepage(int dir, long count)
|
||||
foldAdjustCursor();
|
||||
#endif
|
||||
cursor_correct();
|
||||
check_cursor_col();
|
||||
if (retval == OK)
|
||||
beginline(BL_SOL | BL_FIX);
|
||||
curwin->w_valid &= ~(VALID_WCOL|VALID_WROW|VALID_VIRTCOL);
|
||||
|
Reference in New Issue
Block a user