K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2012-01-14T09:44:57.175168Z
K 7
svn:log
V 627
fix a segfault when a message does not contain a Newsgroups: header field

A bug was introduced by [9121] (also in STABLE, but not in a release).
The Newsgroups: header field was strdup'ed before having checked the
validity of all the header fields.  It could therefore be unset, leading
to a segfault.

The check is now done.  If the Newsgroups: header field is missing,
this error will still be reported afterwards.  And in case it is set, the
presence of a moderated newsgroup is properly checked, and nnrpd acts
accordingly (it does not add or update Injection-Date:, Injection-Info:
and Path: header fields in this case).

END
