NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item9957: Use of uninitialized value in foswiki.fcgi

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Extension FastCGIEngineContrib  
Use of uninitialized value in pattern match (m//) at .../bin/foswiki.fcgi line 62

Patch:
--- bin/foswiki.fcgi    (revision 9796)
+++ bin/foswiki.fcgi    (working copy)
@@ -59,7 +59,9 @@
 pod2usage(1) if $help;
 
 # untaint
-$pidfile =~ /^(.*)$/ and $pidfile = $1;
+if (defined $pidfile) {
+  $pidfile =~ /^(.*)$/ and $pidfile = $1;
+}

-- MichaelDaum - 04 Nov 2010

 

ItemTemplate edit

Summary Use of uninitialized value in foswiki.fcgi
ReportedBy MichaelDaum
Codebase
SVN Range
AppliesTo Extension
Component FastCGIEngineContrib
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:9866 Foswikirev:12487
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 08 Sep 2011, SvenDowideit
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads