Article View: news.software.nntp
Article #2114Re: INN 1.4 list subscriptions patch
From: Wayne Davison
Date: Wed, 01 Sep 1993 18:04
Date: Wed, 01 Sep 1993 18:04
28 lines
1626 bytes
1626 bytes
According to Shane Davis <shane@utdallas.edu>:
> ***************
> *** 170,176 ****
>
> /* Read lines, ignore long ones. */
> while ((p = QIOread(qp)) != NULL) {
> ! if (lp == &INFOdistribs || lp == &INFOdistribpats) {
> Printf("%s\r\n", p);
> continue;
> }
> --- 176,182 ----
>
> /* Read lines, ignore long ones. */
> while ((p = QIOread(qp)) != NULL) {
> ! if (lp == &INFOdistribs || lp == &INFOdistribpats || lp ==
> &INFOsubs) {
> Printf("%s\r\n", p);
> continue;
> }
>
I don't agree with this bit. If you leave this code alone nnrp will check
each group's authorization and only send the ones in the list that the user
is authorized to receive. Your patch allows unauthorized groups to slip
through.
--
Wayne Davison
davison@borland.com
Technical Details
Message-ID:
<CCosvA.L3r@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<CCA0G5.G59@borland.com> <25ga9d$aio@falstaff.umd.edu> <262hn9$ofd@news.utdallas.edu>Show Full Headers
Complete Article Headers
Message-ID: <CCosvA.L3r@borland.com> Subject: Re: INN 1.4 list subscriptions patch Date: Wed, 1 Sep 1993 18:04:21 GMT From: davison@borland.com (Wayne Davison) References: <CCA0G5.G59@borland.com> <25ga9d$aio@falstaff.umd.edu> <262hn9$ofd@news.utdallas.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers,news.software.b,news.software.nntp Organization: Borland International Lines: 28