Mercurial > vim
view src/os_beos.h @ 17653:cc68aca87c17 v8.1.1824
patch 8.1.1824: crash when correctly spelled word is very long
commit https://github.com/vim/vim/commit/5bcc5a1ff94bbab1b175e35a72e3df974106b393
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 6 22:48:02 2019 +0200
patch 8.1.1824: crash when correctly spelled word is very long
Problem: Crash when correctly spelled word is very long. (Ben Kraft)
Solution: Check word length before copying. (closes https://github.com/vim/vim/issues/4778)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 06 Aug 2019 23:00:05 +0200 |
parents | 4aead6a9b7a9 |
children | 6e3dc2d630c2 |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * BeBox port by Olaf Seibert * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * os_beos.h */ #undef USE_SYSTEM #define USE_THREAD_FOR_INPUT_WITH_TIMEOUT 1 #define USE_TERM_CONSOLE #define HAVE_DROP_FILE #undef BEOS_DR8 #define BEOS_PR_OR_BETTER /* select emulation */ #ifndef PROTO # include <net/socket.h> /* for typedefs and #defines only */ #endif