Mercurial > vim
view src/protodef.h @ 28242:5bf82b918cb2 v8.2.4647
patch 8.2.4647: "source" can read past end of copied line
Commit: https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5db
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 29 19:52:12 2022 +0100
patch 8.2.4647: "source" can read past end of copied line
Problem: "source" can read past end of copied line.
Solution: Add a terminating NUL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Mar 2022 21:00:04 +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