INN commit: trunk/innfeed (tape.c)

INN Commit Russ_Allbery at isc.org
Sun Dec 14 04:53:06 UTC 2008


    Date: Saturday, December 13, 2008 @ 20:53:05
  Author: eagle
Revision: 8222

Add a paranoia ASSERT in tape processing.  I don't think the article
argument here could have ever been NULL, but the function would
definitely crash it if were and innfeed uses an ASSERT elsewhere when
that's the case.

Modified:
  trunk/innfeed/tape.c

--------+
 tape.c |    1 +
 1 file changed, 1 insertion(+)

Modified: tape.c
===================================================================
--- tape.c	2008-12-14 04:50:33 UTC (rev 8221)
+++ tape.c	2008-12-14 04:53:05 UTC (rev 8222)
@@ -640,6 +640,7 @@
   const char *fname, *msgid ;
 
   ASSERT (tape != NULL) ;
+  ASSERT (article != NULL) ;
 
   /* return immediately if spooling disabled - jgarzik */
   if (tape->noBacklog)




More information about the inn-committers mailing list