]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1331: possible crash when window can be zero lines high v8.0.1331
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Nov 2017 21:22:11 +0000 (22:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Nov 2017 21:22:11 +0000 (22:22 +0100)
commit3679c17917d7ff22e836982c81e5816bd07451dd
tree9dd557f0dab8d270837a6be109d2612ea7219f9f
parenta2a80162deb1e96e16b097dfe48b61b6eb0824bf
patch 8.0.1331: possible crash when window can be zero lines high

Problem:    Possible crash when window can be zero lines high. (Joseph
            Dornisch)
Solution:   Only set w_fraction if the window is at least two lines high.
src/version.c
src/window.c