[CVE-2017-11109] Reduced samples and patch

2017-07-08 Fir de Conversatie James McCoy
Hi Bram, A few issues were reported on RedHat's bug tracker[0] which have been assigned CVE-2017-11109. I took an initial look at them and reduced the fuzzer-created scripts so they're clearer (especially for POC2). [0]: https://bugzilla.redhat.com/show_bug.cgi?id=1468492 I've also attached a p

Patch 8.0.0702

2017-07-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0702 Problem:An error in a timer can make Vim unusable. Solution: Don't set the error flag or exception from a timer. Stop a timer if it causes an error 3 out of 3 times. Discard an exception caused inside a timer. Files: src/ex_cmds2.c, src/structs.h

Re: [vim/vim] E518: "nos" and "noswapfile" (#1826)

2017-07-08 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-07-08 20:40 GMT+03:00 Chinggis Tenger : > :help nos says nos[wapfile] > > but set nos issues E518: > > E518: Unknown option: nos > > rendering the option shorthandless and having to fully set as noswapfile. :nos is a *command*. Options are almost never abbreviated as nos\%[wapfile], they hav

Patch 8.0.0701

2017-07-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0701 Problem:System test failing when using X11 forwarding. Solution: Set $XAUTHORITY before changing $HOME. (closes #1812) Also use a better check for the exit value. Files: src/testdir/setup.vim, src/testdir/test_system.vim *** ../vim-8.0.0700/src/testdir/setup

Patch 8.0.0700

2017-07-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0700 Problem:Segfault with QuitPre autocommand closes the window. (Marek) Solution: Check that the window pointer is still valid. (Christian Brabandt, closes #1817) Files: src/testdir/test_tabpage.vim, src/ex_docmd.c *** ../vim-8.0.0699/src/testdir/test_tabpage.v

Patch 8.0.0699

2017-07-08 Fir de Conversatie Bram Moolenaar
Patch 8.0.0699 Problem:Checksum tests are not actually run. Solution: Add the tests to the list. (Dominique Pelle, closes #1819) Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim *** ../vim-8.0.0698/src/testdir/test_alot.vim 2017-06-04 18:59:10.791459095 +0200 --- sr