aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-08-25 12:40:50 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2020-09-04 23:29:51 +0200
commitb33e375b2b4e6c9232cdbfd5d6b7cb1b15e0f525 (patch)
treeed2d0c84ed966a55bd0b1bfadfb0b8fedb434e14 /src/nvim/api/buffer.c
parent7593c8012b1d183ce4806daca3fb50795ab969bf (diff)
downloadrneovim-b33e375b2b4e6c9232cdbfd5d6b7cb1b15e0f525.tar.gz
rneovim-b33e375b2b4e6c9232cdbfd5d6b7cb1b15e0f525.tar.bz2
rneovim-b33e375b2b4e6c9232cdbfd5d6b7cb1b15e0f525.zip
robustness: avoid adding offset to NULL pointer
UBSAN with clang 10.0 is checking for adding offsets to a `NULL` pointer which is not allowed. This is not yet checked in the version of clang used in CI (7.0.0). I will work on cases of this so that tests passes locally for me. This could be tested in CI by either upgrading the clang of the ASAN/UBSAN to 10.0, or add yet another CI target which builds with clang 10.0.
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions