summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index a6e91c6..45c1f7e 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -310,7 +310,7 @@ register char *ptr;
process = &iceConn->process_msg_info[
i - iceConn->his_min_opcode];
- if (process->in_use)
+ if ((process != NULL) && process->in_use)
{
IceIOErrorProc IOErrProc = process->accept_flag ?
process->protocol->accept_client->io_error_proc :