cvsweb (3:3.0.6-7) 11_484158_fix_scriptwhere_initialization.patch

Summary

 cvsweb.cgi |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

Author: Daniel Leidert (dale) <daniel.leidert@wgdd.de>
Description: Fix the "Use of uninitialized value $scriptwhere in concatenation ..."
warning. Thanks to Joey Schulze for the fix.

<URL:http://bugs.debian.org/484158>
--- a/cvsweb.cgi
+++ b/cvsweb.cgi
@@ -295,6 +295,7 @@
 }
 
 $scriptname    = '' unless defined($scriptname);
+$scriptwhere   = '' unless defined($scriptwhere);
 
 $where         =  $pathinfo;
 $doCheckout    =  $where =~ s|^/$CheckoutMagic/|/|o;