]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1611: possible undefined behaviour in mb_decompose() v9.1.1611
authorÁron Hárnási <aron.harnasi@gmail.com>
Sat, 9 Aug 2025 21:43:13 +0000 (23:43 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 9 Aug 2025 21:43:13 +0000 (23:43 +0200)
commitc43a0614d40a3892a9cb2b9d75f61a19a3de0226
tree791100cf53e0d1a06a55b6a8211bca3d71426255
parentc65643cbec4f5a77a2d30232c64c258b5f0f5c09
patch 9.1.1611: possible undefined behaviour in mb_decompose()

Problem:  possible undefined behaviour in mb_decompose(), when using the
          same pointer as argument several times
Solution: use separate assignments to avoid reading and writing the same
          object at the same time (Áron Hárnási)

closes: #17953

Signed-off-by: Áron Hárnási <aron.harnasi@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/regexp.c
src/version.c