Changeset: 734117486431 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=734117486431
Modified Files:
tools/merovingian/daemon/multiplex-funnel.c
Branch: default
Log Message:
multiplex: fix crash when second concurrent client disconnects
Add a missing assignment for the previous client, such that when we
remove a client in the middle of the chain, we actually have the pointer
to the previous. Fixes a crash when the second (or higher) client
disconnects while the first client remains connected.
diffs (11 lines):
diff --git a/tools/merovingian/daemon/multiplex-funnel.c
b/tools/merovingian/daemon/multiplex-funnel.c
--- a/tools/merovingian/daemon/multiplex-funnel.c
+++ b/tools/merovingian/daemon/multiplex-funnel.c
@@ -631,6 +631,7 @@
free(c);
break;
}
+ p = w;
}
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list