]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0219: ubsan reports errors for overflow v8.0.0219
authorBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2017 17:34:57 +0000 (18:34 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 22 Jan 2017 17:34:57 +0000 (18:34 +0100)
commit7a40ea2138102545848ea86a361f1b8dec7552b5
tree28c03360f9bb2de0d7454f50ffccc1f33c75fe54
parent2b2207ba69c6b009e466a36eef0644ca723e16d3
patch 8.0.0219: ubsan reports errors for overflow

Problem:    Ubsan reports errors for integer overflow.
Solution:   Define macros for minimum and maximum values.  Select an
            expression based on the value. (Mike Williams)
src/charset.c
src/eval.c
src/evalfunc.c
src/structs.h
src/testdir/test_viml.vim
src/version.c