Marcus wrote:
> 
> I was reading Lincoln Stein's WWW security FAQ and came across some C code to 
>prevent buffer overflows.
> If I want to do that in Perl, is it sufficient to check the value of 
>ENV{CONTENT_LENGTH}, and the size of ENV{QUERY_STRING}?
> 
> I guess you do the check before calling your parameter plucker, and if the input is 
>too long, go back to the input form with an error.
> 
> Does anybody have any code for this in context?

It's pretty hard to overflow a Perl vrbl since they grow automagically . :)

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
 (_/   /  )    // //       DBE Collectibles   http://www.wgn.net/~dbe/
  / ) /--<  o // //      Mailto:[EMAIL PROTECTED]   http://dbecoll.webjump.com/
-/-' /___/_<_</_</_    http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to