BUG in art.c:2284 ARTpost() causes core

Katsuhiro Kondou kondou at nec.co.jp
Fri Nov 19 05:15:15 UTC 1999

In article <19991119042108.63479285BE at wawura.off.connect.com.au>,
	Andrew McNamara <andrewm at connect.com.au> wrote;

} I still don't think this is right - the test should be:
} 	if (distributions[0] == NULL)
} BUT - the null list comes about as a result of the call to DISTparse(),
} so the check must occur after this.

CommaSplit() always returns a list of pointers and
there are two at least including NULL.  And all ','
in Distribution header are replaced with '\0' in
CommpaSplit().  This means if it begins with ',',
*distribution[0] is '\0'.  So, I think it works.
Katsuhiro Kondou

More information about the inn-workers mailing list