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);
}
}