develooper Front page | perl.perl5.porters | Postings from February 2003

Re: Did the assertion patch/feature submission get overlooked?

From:
Salvador "Fandiño"
Date:
February 19, 2003 12:11
Subject:
Re: Did the assertion patch/feature submission get overlooked?
Message ID:
20030219092624.28804.qmail@web13408.mail.yahoo.com

--- Rafael Garcia-Suarez <rgarciasuarez@free.fr> wrote:
> hv@crypt.org wrote:
> > 
> > I note also that the -A switch handling does a
> forbid_setid("-A").
> > Any particular reason why it does that? I'd have thought that in
> > general a script would be expected to run more safely with -A, so
> > that it should positively be encouraged.
> 
> I imagined that's because you can pass code to be executed via -A
> to the regexp. E.g. via a nasty PERL5OPT.

I was playing on the safe side, but anyway, I think that if a
programmer wants to leave assertions active on a script to be used on
taint mode it should explicitely use 'assertions::activate' at the
beginning of the script instead of letting assertions being selected
from the outside.

Bye,

  - Salva



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About