Article View: news.software.nntp
Article #82609Re: INN and "ovgrouppat" - bug?
From: Julien ÉLIE
Date: Sun, 17 Jan 2010 11:56
Date: Sun, 17 Jan 2010 11:56
40 lines
2931 bytes
2931 bytes
Hi Russ,
>>> I have just added that precision to the inn.conf documentation for
>>> ovgrouppat:
>
>>> Note that the use of "!" in this wildmat expression has the same
>>> meaning as "@", that is to say it is a poisoned match and the overview
>>> data will not be generated if one of the newsgroups an article is
>>> posted to is unwanted.
>
> Why in this situation do we not use the more typical meaning of "!" and
> "@" and keep generating overview unless every newsgroup to which it's
> posted does not match or unless it matches a poisoned pattern? The code
> structure just doesn't allow for it?
Yes, you're right Russ. I should have fixed the problem instead of
documenting the difference between usual wildmats.
Now done.
http://inn.eyrie.org/trac/changeset/8890/trunk
Add complete support for uwildmats in ovgrouppat: negated
patterns "!" are now taken into account (and not considered
as poisoned patterns "@").
Also fix a wrong memchr length.
Yeah, that memchr was strange (group is always greater than patcheck...).
It could have led to segfaults (especially with the write of '\0' just after).
- if ((nextcheck = memchr(group, ':', xreflen - (patcheck - group))) == NULL)
+ if ((nextcheck = memchr(group, ':', xreflen - (group - patcheck))) == NULL)
--
Julien ÉLIE
« -- Une amphore pleine de salade, s'il vous plaît...
-- C'est bon ça, la salade nicæoise ? » (Astérix)
Technical Details
Message-ID:
<hiutsh$etq$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-66-216.w81-48.abo.wanadoo.fr!not-for-mailReferences:
<hihikq$hje$1@snarked.org> <hiiie2$3ur$1@news.trigofacile.com><hism7f$rn3$1@news.trigofacile.com> <hiu3cd$715$1@snarked.org> <87vdf1ic39.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <hiutsh$etq$1@news.trigofacile.com> Subject: Re: INN and "ovgrouppat" - bug? Date: Sun, 17 Jan 2010 12:56:02 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hihikq$hje$1@snarked.org> <hiiie2$3ur$1@news.trigofacile.com><hism7f$rn3$1@news.trigofacile.com> <hiu3cd$715$1@snarked.org> <87vdf1ic39.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!de-l.enfer-du-nord.net!gegeweb.org!news.trigofacile.com!.POSTED.aaubervilliers-151-1-66-216.w81-48.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 40 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sun, 17 Jan 2010 11:56:02 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-66-216.w81-48.abo.wanadoo.fr:81.48.9.216"; logging-data="15290"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <87vdf1ic39.fsf@windlord.stanford.edu> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005