Problem: When the netbeans channel is closed consuming the buffer may cause
a crash.
Solution: Check for nb_channel not to be NULL. (Xavier de Gaye)
buffer = node->rq_buffer;
}
- /* now, parse and execute the commands */
+ /* Now, parse and execute the commands. This may set nb_channel to
+ * NULL if the channel is closed. */
nb_parse_cmd(buffer);
if (own_node)
/* buffer finished, dispose of it */
vim_free(buffer);
- else
+ else if (nb_channel != NULL)
/* more follows, move it to the start */
channel_consume(nb_channel, PART_SOCK, (int)(p - buffer));
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1969,
/**/
1968,
/**/