comparison src/vim.h @ 13202:2941a86f8aaa v8.0.1475

patch 8.0.1475: invalid memory access in read_redo() commit https://github.com/vim/vim/commit/f12519dec88251305793f1651f558d16506b4be2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 6 22:52:49 2018 +0100 patch 8.0.1475: invalid memory access in read_redo() Problem: Invalid memory access in read_redo(). (gy741) Solution: Convert the replacement character back from a negative number to CR or NL. (hint by Dominique Pelle, closes #2616)
author Christian Brabandt <cb@256bit.org>
date Tue, 06 Feb 2018 23:00:07 +0100
parents 6559e98f3e74
children 5ed6e4a25925
comparison
equal deleted inserted replaced
13201:e57e06cfb76b 13202:2941a86f8aaa
2513 long elapsed(DWORD start_tick); 2513 long elapsed(DWORD start_tick);
2514 # endif 2514 # endif
2515 # endif 2515 # endif
2516 #endif 2516 #endif
2517 2517
2518 /* Replacement for nchar used by nv_replace(). */
2519 #define REPLACE_CR_NCHAR -1
2520 #define REPLACE_NL_NCHAR -2
2521
2518 #endif /* VIM__H */ 2522 #endif /* VIM__H */