logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Re: cvs commit: modperl-2.0/t/response/TestDirective env.pm: msg#00253

apache.mod-perl.devel

Subject: Re: cvs commit: modperl-2.0/t/response/TestDirective env.pm

stas@xxxxxxxxxx wrote:
[...]
Index: env.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestDirective/env.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -u -r1.5 -r1.6
--- env.pm 25 Sep 2004 19:01:15 -0000 1.5
+++ env.pm 25 Sep 2004 19:30:07 -0000 1.6
@@ -88,7 +88,7 @@
PerlSetEnv TestDirective__env_srv2 env_srv2
# XXX: temp workaround
- PerlPostReadRequestHandler Apache::OK
+ PerlPostReadRequestHandler 'sub { use Apache::Const qw(DECLINED);
DECLINED }'

And that uncovered an old-new problem of calling modperl_croak and following it by any eval call, which is the case above (as it's an anonymous handler). At the moment 'make test' fails at t/filter/in_str_bin_data.t, because it happens to run next in the same interpreter after the test t/filter/in_error, the error is:

Insecure dependency in eval while running setgid.
Callback called exit.

So we need to figure out how to safely untaint the global interpreter taint-state after modperl_croak was called.

--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo