nnrpd/misc.c segfault & (maybe) fix
Extra Strength Flufferin
supersede at india.com
Sun Jul 9 06:01:27 UTC 2000
I'm getting a coredump in the CVS NEWNEWS command, due to a segfault
in PERMmatch(). The following stops the crashes, but someone more
familiar with the workings of PERM* will want to see if this is
fixing the real problem, or if something is wrong in HaveSeen(), which
made the offending call.
--- misc.c.orig Fri Jun 30 21:38:07 2000
+++ misc.c Sun Jul 9 01:46:43 2000
@@ -117,7 +117,7 @@
char *p;
int match = FALSE;
- if (Pats[0] == NULL)
+ if (Pats == NULL || Pats[0] == NULL)
return TRUE;
for ( ; *list; list++) {
More information about the inn-workers
mailing list