Chris at SNLL reported a bug which crashed the xget servers after the clients finished downloading from the server. This was triggered only under certain conditions especially when the directory the server is serving changes.
the servers segfaulted while cleaning up the remnants after the clients have finished downloading. Signed-off-by: Abhishek Kulkarni <[EMAIL PROTECTED]>
Index: xget.c =================================================================== --- xget.c (revision 709) +++ xget.c (working copy) @@ -777,9 +777,9 @@ if (files) files->prev = NULL; } - else if (f->next) + if (f->next) f->next->prev = f->prev; - else if (f->prev) + if (f->prev) f->prev->next = f->next; for (w = f->firstworker; w != NULL; )
