From 7b6029ebe147b8d96c64e0ab513b44018508eb1f Mon Sep 17 00:00:00 2001 From: Aleix Conchillo Flaque Date: Wed, 4 Jul 2012 11:38:51 +0200 Subject: [PATCH] shmsrc: memory corruption when a client disconnects (fixes #679385) --- sys/shm/shmpipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/shm/shmpipe.c b/sys/shm/shmpipe.c index bde4c4e70e..c692417e1d 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) {