There's a possible crash in 0.91, which I've discovered Friday last but
didn't have time to announce.  An invariant is violated when an interface
goes down, which may cause a crash when it goes up again.

The patch is attached, it's also in the Darcs repository.  I'll release
a fixed 0.92 when I have some time.

                                        Juliusz

Fri Nov 21 03:58:34 CET 2008  Juliusz Chroboczek <[EMAIL PROTECTED]>
  * Make sure net->buffered_updates is cleared when freed.
diff -rN -u old-babel/network.c new-babel/network.c
--- old-babel/network.c 2008-11-25 18:57:18.000000000 +0100
+++ new-babel/network.c 2008-11-25 18:57:18.000000000 +0100
@@ -292,6 +292,7 @@
         net->update_bufsize = 0;
         if(net->buffered_updates)
             free(net->buffered_updates);
+        net->buffered_updates = NULL;
         net->sendbuf = NULL;
         if(net->ifindex > 0) {
             memset(&mreq, 0, sizeof(mreq));

_______________________________________________
Babel-users mailing list
Babel-users@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/babel-users

Reply via email to