Article View: news.software.nntp
Article #49888Re: perl filter crashing INND - why?
From: Andrew Gierth
Date: Tue, 16 Jan 2001 16:49
Date: Tue, 16 Jan 2001 16:49
31 lines
2395 bytes
2395 bytes
>>>>> "Russ" == Russ Allbery <rra@stanford.edu> writes: > Mark W Modrall <modrall@world.std.com> writes: >> It was crashing in free, called out of Perl_my_setenv(), which is >> part of the perl link library... why it doesn't crash with perl >> being run from the command line, i don't know... Russ> Perl is disagreeing with innd over which malloc to use, I bet. I'm not so sure - some of the stuff in Perl's my_setenv is suspect, it could easily die in free() if it concludes that it has already copied the environment when this is not in fact the case. but... Russ> What version of Perl are you using, and what's the output of Russ> perl -V? ...this data is needed to draw any firm conclusions >> I tried to set the variables in my environment before launching inn (and >> i used -d -f to run it in foreground, but i was surprised to find the >> values gone when inn was running... Russ> inndstart strips out all environment variables intentionally Russ> (as a security measure, as well as for other reasons). A largely bogus security measure, since last time I looked, anyone who can run inndstart can trivially obtain a shell as the news user. -- Andrew.
Technical Details
Message-ID:
<878zobigri.fsf@erlenstar.demon.co.uk>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!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonsterReferences:
<G72nzA.Lpp@world.std.com> <G740D9.o1@world.std.com> <G77tHp.D6E@world.std.com> <ylg0ijesf2.fsf@windlord.stanford.edu> <G79HrI.51p@world.std.com> <ylzogr4hrp.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <878zobigri.fsf@erlenstar.demon.co.uk> Subject: Re: perl filter crashing INND - why? Date: Tue, 16 Jan 2001 16:49:37 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <G72nzA.Lpp@world.std.com> <G740D9.o1@world.std.com> <G77tHp.D6E@world.std.com> <ylg0ijesf2.fsf@windlord.stanford.edu> <G79HrI.51p@world.std.com> <ylzogr4hrp.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.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news-feed.riddles.org.uk!erlenstar.demon.co.uk!newsmonster Newsgroups: news.software.nntp Organization: disorganised Lines: 30 NNTP-Posting-Host: erlenstar.demon.co.uk (4a47:0ba1) X-Mayan-Date: Long count = 12.19.7.16.1; tzolkin = 13 Imix; haab = 4 Muan X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-Attribution: AG X-P-Persistent-Headers: are a bad idea. X-Newsreader: Gnus v5.5/Emacs 20.2 X-Complaints-To: andrew@erlenstar.demon.co.uk X-Post-Filter: postfilter v0.6 alpha