fastrm segfault
Fletcher Mattox
fletcher at cs.utexas.edu
Fri Jan 7 19:19:57 UTC 2000
fastrm expects to be able to fprintf the string in SMerrorstr and drops
core when tradspool_cancel() fails to find the path to the article
because SMerrorstr is null. This is using tradspool, obviously.
Diff from Jan 3 snapshot.
Index: tradspool.c
===================================================================
RCS file: /v/antivenin/v0/CVSROOT/inn/storage/tradspool/tradspool.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 tradspool.c
--- tradspool.c 2000/01/03 19:42:06 1.1.1.2
+++ tradspool.c 2000/01/07 16:01:13
@@ -921,7 +921,7 @@
unsigned long artnum;
if ((path = TokenToPath(token)) == NULL) {
- SMseterror(SMERR_UNDEFINED, NULL);
+ SMseterror(SMERR_UNDEFINED, "Could not find token");
DISPOSE(path);
return FALSE;
}
More information about the inn-workers
mailing list