summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Conchillo Flaque <aleix@oblong.com>2012-07-04 11:38:51 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2012-07-05 10:54:27 -0700
commit0687a65eea23f6ec826cc6db2236a3d821afa7ad (patch)
treeb1041afef14c900a0b07012530cf1501faed0786
parentf5fce3e742bcec4f0a88e03724e3b5c514e58103 (diff)
shmsrc: memory corruption when a client disconnects (fixes #679385)
-rw-r--r--sys/shm/shmpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/shm/shmpipe.c b/sys/shm/shmpipe.c
index bde4c4e70..c692417e1 100644
--- a/sys/shm/shmpipe.c
+++ b/sys/shm/shmpipe.c
@@ -867,8 +867,8 @@ again:
goto again;
break;
}
- prev_buf = buffer;
}
+ prev_buf = buffer;
}
for (item = self->clients; item; item = item->next) {