Thread: Re: [PATCHES] plperl Safe restrictions

Re: [PATCHES] plperl Safe restrictions

From
Bruce Momjian
Date:
> >Andrew Dunstan wrote:
> >
> >
> >>...
> >>
> >>The patch also does some other inconsequential tidying of overlong
> >>lines, and removes some unnecessary ops in the unsafe case. These are
> >>basically cosmetic - the only significant part is replacing this:
> >>
> >>    $PLContainer->permit(':base_math');
> >>
> >>with this:
> >>
> >>    $PLContainer->permit(qw[:base_math !:base_io !srand sort sprintf time]);
> >>
> >>
> >>
> >
>
> As per previous discussions, please remove "!srand" and "sprintf"
> if/when applying.

OK.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073