Article View: news.software.nntp
Article #81460Re: perl-nocem uninitialized value
From: John F. Morse
Date: Tue, 23 Jun 2009 01:24
Date: Tue, 23 Jun 2009 01:24
38 lines
2435 bytes
2435 bytes
Julien ΓLIE wrote:
> Hi John,
>
>> The following error was in the Daily Report, 2115 times:
>>
>> Use of uninitialized value $msgid in concatenation (.) or string at
>> /usr/lib/news/bin/perl-nocem line 158.
>
> Thanks for having reported the problem.
> However, I have already fixed it in INN 2.5.0:
>
> http://inn.eyrie.org/trac/changeset/8419/trunk/control/perl-nocem.in
>
> Index: trunk/control/perl-nocem.in
> ===================================================================
> --- trunk/control/perl-nocem.in (revision 8274)
> +++ trunk/control/perl-nocem.in (revision 8419)
> @@ -134,5 +134,6 @@
> my $i = 0;
> my $body = '';
> - my ($from, $msgid);
> + my $from = '';
> + my $msgid = '<>';
> while (<$artfh>) {
> last if $i++ > 200;
>
Thanks Julien.
That patch should work in INN 2.4.5 I presume?
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<h1pash$p41$1@optima7.xanadu-bbs.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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.motzarella.org!news.motzarella.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mailReferences:
<h1nal7$7os$1@optima7.xanadu-bbs.net> <h1ob39$1co$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <h1pash$p41$1@optima7.xanadu-bbs.net> Subject: Re: perl-nocem uninitialized value Date: Mon, 22 Jun 2009 20:24:33 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <h1nal7$7os$1@optima7.xanadu-bbs.net> <h1ob39$1co$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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.motzarella.org!news.motzarella.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 38 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: optima7.xanadu-bbs.net 1245720273 25729 192.168.89.210 (23 Jun 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Tue, 23 Jun 2009 01:24:33 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <h1ob39$1co$1@news.trigofacile.com> X-Enigmail-Version: 0.95.7