0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.897

Problem:    Freeze and crash when there is a sleep in a remote command.
            (Karl Yngve Lervåg)
Solution:   Remove a message from the queue before dealing with it. (James
            Kolb)
This commit is contained in:
Bram Moolenaar
2015-10-13 20:21:49 +02:00
parent b4f6a46b01
commit 4e86150ec5
2 changed files with 3 additions and 1 deletions

View File

@@ -1235,9 +1235,9 @@ server_parse_messages()
while (head.next != NULL && head.next != &head)
{
node = head.next;
server_parse_message(X_DISPLAY, node->propInfo, node->len);
head.next = node->next;
node->next->prev = node->prev;
server_parse_message(X_DISPLAY, node->propInfo, node->len);
vim_free(node);
}
}

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
897,
/**/
896,
/**/