Mercurial > vim
annotate runtime/compiler/README.txt @ 33295:a43861545866 v9.0.1913
patch 9.0.1913: if_python: undefined behaviour for function pointers
Commit: https://github.com/vim/vim/commit/2ce070c27acd12ccc614afa4cecf4970a645a4af
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Tue Sep 19 20:30:22 2023 +0200
patch 9.0.1913: if_python: undefined behaviour for function pointers
Problem: if_python: undefined behaviour for function pointers
Solution: Fix if_python undefined behavior for function pointer casts
Identified by clang 17 UBSAN (see #12745). Make sure to cast function
pointers with the same signature only.
closes: #13122
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2023 20:45:05 +0200 |
parents | 4027cefc2aab |
children | 5f3b4ee66099 |
rev | line source |
---|---|
7 | 1 This directory contains Vim scripts to be used with a specific compiler. |
2 They are used with the ":compiler" command. | |
3 | |
4 These scripts usually set options, for example 'errorformat'. | |
5 See ":help write-compiler-plugin". | |
6 | |
7 If you want to write your own compiler plugin, have a look at the other files | |
8 for how to do it, the format is simple. | |
9 | |
10 If you think a compiler plugin you have written is useful for others, please | |
32770
4027cefc2aab
Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
11 send it to the vim-dev mailing list: <vim-dev@vim.org> |