summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDerek Wang <derek.wang@sun.com>2004-11-23 12:00:32 -0800
committerAlan Coopersmith <alanc@alf.(none)>2006-07-11 13:43:20 -0700
commit6066ab9b9914ec0cca3b8f36fa3f5ba323414621 (patch)
tree4ff5011638f59aba6f631707aef2c7af046f584b /src
parentbe25425ca38d23655a5a854c053e750e1cbd3dea (diff)
Sun bug #6193975: kde session manager core dumps in _IceWrite()
Diffstat (limited to 'src')
-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 :