Mercurial > vim
view src/protodef.h @ 29048:c98fc7a4dde4 v8.2.5046
patch 8.2.5046: vim_regsub() can overwrite the destination
Commit: https://github.com/vim/vim/commit/4aaf3e7f4db599932d01d87e5bbcdc342cccee27
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 30 20:58:55 2022 +0100
patch 8.2.5046: vim_regsub() can overwrite the destination
Problem: vim_regsub() can overwrite the destination.
Solution: Pass the destination length, give an error when it doesn't fit.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 May 2022 22:00:03 +0200 |
parents | 3e9b24eac417 |
children |
line wrap: on
line source
/* vi:set ts=8 sts=4 sw=4 noet: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ #ifdef PROTO // cproto runs into trouble when these types are missing typedef double _Float16; typedef double _Float32; typedef double _Float64; typedef double _Float128; typedef double _Float32x; typedef double _Float64x; #endif