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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
897,
|
||||
/**/
|
||||
896,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user