Mercurial > vim
annotate src/proto/bufwrite.pro @ 32254:1f29252237de v9.0.1458
patch 9.0.1458: buffer overflow when expanding long file name
Commit: https://github.com/vim/vim/commit/a77670726e3706973adffc2b118f4576e1f58ea0
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Sun Apr 16 20:13:12 2023 +0100
patch 9.0.1458: buffer overflow when expanding long file name
Problem: Buffer overflow when expanding long file name.
Solution: Use a larger buffer and avoid overflowing it. (Yee Cheng Chin,
closes #12201)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Apr 2023 21:15:03 +0200 |
parents | db18625d8134 |
children |
rev | line source |
---|---|
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* bufwrite.c */ |
20828
db18625d8134
patch 8.2.0966: 'shortmess' flag "n" not used in two places
Bram Moolenaar <Bram@vim.org>
parents:
18840
diff
changeset
|
2 char *new_file_message(void); |
18199
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 int buf_write(buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering); |
e2be5a6485f5
patch 8.1.2094: the fileio.c file is too big
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 /* vim: set ft=c : */ |