Article View: news.software.nntp
Article #64309Re: distribution of control messages
From: Jeffrey M. Vinocur
Date: Fri, 07 Mar 2003 16:53
Date: Fri, 07 Mar 2003 16:53
24 lines
1832 bytes
1832 bytes
In article <b49jqk$ijm$1@tahina.priv.at>, christian mock <cm@tahina.priv.at> wrote: > >OK, I found it: art.c:2030 > >strlcpy(ControlWord, HDR(HDR__CONTROL), sizeof(ControlWord)); > >is the culprit -- ControlWord is a char[16], which means "newgroup >oesterreich.something" becomes "newgroup oester", and afterwards the >group name is parsed from ControlWord, which means we look for peers >wanting "oester", and that is only matched by "*". *boggle* Yes, the value in "p" can't possibly be used further down as it is. I'm just not sure when this change came about, unless it's a really obscure bug resulting from the fact that strlcpy doesn't NUL-pad the destination string if it's shorter. -- Jeffrey M. Vinocur jeff@litech.org
Technical Details
Message-ID:
<b4aipi$6fj$3@puck.litech.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.litech.org!not-for-mailReferences:
<b44bo1$lp1$1@tahina.priv.at> <b45lcg$684$1@tahina.priv.at> <ylsmu1zbra.fsf@windlord.stanford.edu> <b49jqk$ijm$1@tahina.priv.at>Show Full Headers
Complete Article Headers
Message-ID: <b4aipi$6fj$3@puck.litech.org> Subject: Re: distribution of control messages Date: Fri, 07 Mar 2003 16:53:06 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <b44bo1$lp1$1@tahina.priv.at> <b45lcg$684$1@tahina.priv.at> <ylsmu1zbra.fsf@windlord.stanford.edu> <b49jqk$ijm$1@tahina.priv.at> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 23 Sender: jeff@litech.org NNTP-Posting-Host: 66.218.0.75 X-Trace: puck.litech.org 1047055986 6643 66.218.0.75 (7 Mar 2003 16:53:06 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Fri, 7 Mar 2003 16:53:06 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)