Article View: news.software.nntp
Article #82825Re: mistake in newsfeeds: cause?
From: Julien ÉLIE
Date: Sat, 20 Feb 2010 09:47
Date: Sat, 20 Feb 2010 09:47
43 lines
2262 bytes
2262 bytes
Hi Michael,
> | $unwantedAB=\
> | @x.y,\
> | @x.y.*\
> |
> | $unwantedCD=\
> | [...]
>
> This led to erroneously sending of x.y.* to peer. Ok, there is that
> mistaken last "\" in $unwantedAB, and after removing that, everything
> works as expected.
I once had a similar issue with:
# Comment
# $pat=@abc.*\
$pat=*,@abc.*\
@def.*
The third and fourth lines are also commented because of the second :)
> Now, I want to understand what happened:
>
> 2) Or in "@x.y.*<$unwantedCD>" (<variable content>)
Yes. See line 323 of innd/newsfeeds.c:
if (*p == '\\' && p[1] == '\n')
while (*++p && CTYPE(isspace, *p))
continue;
A space is ' ', '\t', '\r', '\n', '\v' or '\f' in C.
--
Julien ÉLIE
« -- Par Jupiter !
-- Par Toutatis !
-- Par pitié ! » (Astérix)
Technical Details
Message-ID:
<hlob3q$5cc$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.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news.musoftware.de!wum.musoftware.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-19-200.w83-114.abo.wanadoo.fr!not-for-mailReferences:
<hln7pb$5j3$1@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <hlob3q$5cc$1@news.trigofacile.com> Subject: Re: mistake in newsfeeds: cause? Date: Sat, 20 Feb 2010 10:47:38 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <hln7pb$5j3$1@de-l.enfer-du-nord.net> 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.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!feeder.erje.net!news.musoftware.de!wum.musoftware.de!weretis.net!feeder2.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-19-200.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 43 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Sat, 20 Feb 2010 09:47:38 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-19-200.w83-114.abo.wanadoo.fr:83.114.138.200"; logging-data="5516"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <hln7pb$5j3$1@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005