diff options
author | Yee Cheng Chin <ychin.git@gmail.com> | 2023-09-20 19:59:47 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-20 19:59:47 +0200 |
commit | d606fccf6fd716bda43a8e1d11d898f438d28b82 (patch) | |
tree | 30de72950ac86aa810739d41dab22f8f3365208c /src/testdir/test_filetype.vim | |
parent | aa64ba1587d36de558f47519fa47c27e86c6e49a (diff) |
patch 9.0.1917: undefined behaviour with python function pointerv9.0.1917
Problem: undefined behaviour with python function pointer
Solution: correctly cast function pointers from void
Fix more undefined behaviors in if_python
Fix remaining UBSAN errors from Clang 17 in if_python in casting
function pointers.
Also fix a mistake where `PyMem_Free()` should be returning void, by the
dynamic build is mistakenly casting it as a function that returns an
int.
closes: #13128
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Diffstat (limited to 'src/testdir/test_filetype.vim')
0 files changed, 0 insertions, 0 deletions