Stas Bekman wrote:

>
> So anybody has any other ideas, on a better function that will tell
> us whether a given scalar is tainted, besides adding a helper XS
> sub which will just check the tainted flag?


Taken from perlsec(1):

          sub is_tainted {
              return ! eval {
                  join('',@_), kill 0;
                  1;
              };
          }

--
<< Tout n'y est pas parfait, mais on y honore certainement les
jardiniers >>

           Dominique Quatravaux <[EMAIL PROTECTED]>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to