]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2376: Vim9: crash when dividing by zero in compiled code v8.2.2376
authorBram Moolenaar <Bram@vim.org>
Tue, 19 Jan 2021 21:16:41 +0000 (22:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 19 Jan 2021 21:16:41 +0000 (22:16 +0100)
commite64f83cc6aba05baa61ba4a4cb8d4447b8091e5b
treee0142b54c078c5701786812766fc0afda8540220
parent09fbedc8dc3adc0a7adf2093916911e633cfa626
patch 8.2.2376: Vim9: crash when dividing by zero in compiled code

Problem:    Vim9: crash when dividing by zero in compiled code using
            constants.
Solution:   Call num_divide() and num_modulus(). (closes #7704)
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9compile.c