Skip to content

Commit

Permalink
patch 9.0.1925: if_python: still undefined behaviour with function po…
Browse files Browse the repository at this point in the history
…inter

Problem:  if_python: still undefined behaviour with function pointer
Solution: fix remaining problems

Fix remaining issues in the if_python code in casting incompatible
function pointers leading to Clang 17 giving runtime errors during
UBSAN.

closes: vim#13140

Signed-off-by: Christian Brabandt <[email protected]>
Co-authored-by: Yee Cheng Chin <[email protected]>
  • Loading branch information
ychin authored and chrisbra committed Sep 21, 2023
1 parent 1926ae4 commit 02c51b1
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 104 deletions.
Loading

0 comments on commit 02c51b1

Please sign in to comment.