Mercurial > vim
annotate src/proto/if_xcmdsrv.pro @ 31622:1102f4777518 v9.0.1143
patch 9.0.1143: invalid memory access with bad 'statusline' value
Commit: https://github.com/vim/vim/commit/7b17eb4b063a234376c1ec909ee293e42cff290c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 4 14:31:49 2023 +0000
patch 9.0.1143: invalid memory access with bad 'statusline' value
Problem: Invalid memory access with bad 'statusline' value.
Solution: Avoid going over the NUL at the end.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 04 Jan 2023 15:45:05 +0100 |
parents | 71311d899b42 |
children |
rev | line source |
---|---|
7 | 1 /* if_xcmdsrv.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
2 int serverRegisterName(Display *dpy, char_u *name); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
3 void serverChangeRegisteredWindow(Display *dpy, Window newwin); |
11211
71311d899b42
patch 8.0.0492: a failing client-server request can make Vim hang
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
4 int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, int silent); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
5 char_u *serverGetVimNames(Display *dpy); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
6 Window serverStrToWin(char_u *str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
7 int serverSendReply(char_u *name, char_u *str); |
11211
71311d899b42
patch 8.0.0492: a failing client-server request can make Vim hang
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
8 int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
9 int serverPeekReply(Display *dpy, Window win, char_u **str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
10 void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
11 void server_parse_messages(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7109
diff
changeset
|
12 int server_waiting(void); |
7 | 13 /* vim: set ft=c : */ |