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)
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index cf6d9a7..b1fbdaa 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -1235,9 +1235,9 @@
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);
}
}
diff --git a/src/version.c b/src/version.c
index 83bfe2b..71e1a2a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 897,
+/**/
896,
/**/
895,