Mercurial > vim
annotate src/proto/clientserver.pro @ 28988:e6f486df5cc9 v8.2.5016
patch 8.2.5016: access before start of text with a put command
Commit: https://github.com/vim/vim/commit/2a585c85013be22f59f184d49612074fd9b115d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 25 15:15:38 2022 +0100
patch 8.2.5016: access before start of text with a put command
Problem: Access before start of text with a put command.
Solution: Check the length is more than zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 May 2022 16:30:02 +0200 |
parents | 5e41b2e63c73 |
children |
rev | line source |
---|---|
19920
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* clientserver.c */ |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 void server_to_input_buf(char_u *str); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 char_u *eval_client_expr_to_string(char_u *expr); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 int sendToLocalVim(char_u *cmd, int asExpr, char_u **result); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 void exec_on_server(mparm_T *parmp); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 void prepare_server(mparm_T *parmp); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
8 void f_remote_expr(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
9 void f_remote_foreground(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
10 void f_remote_peek(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
11 void f_remote_read(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
12 void f_remote_send(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
13 void f_remote_startserver(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
14 void f_server2client(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
15 void f_serverlist(typval_T *argvars, typval_T *rettv); |
5e41b2e63c73
patch 8.2.0516: client-server code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
16 /* vim: set ft=c : */ |