]> git.donarmstrong.com Git - debbugs.git/commitdiff
* Various changes to make debbugs-local work better (Closes: #585796)
authorDon Armstrong <don@donarmstrong.com>
Fri, 6 Aug 2010 04:52:36 +0000 (00:52 -0400)
committerDon Armstrong <don@donarmstrong.com>
Fri, 6 Aug 2010 04:52:36 +0000 (00:52 -0400)
  - Add libnet-server-fork-perl to Depends for debbugs-local
  - Sanitize env in -T code

cgi/bugreport.cgi
cgi/pkgreport.cgi
debian/changelog

index 8692146485297e70cf3bd9e83f255c16056d028e..8ad688f6923b501ea836557574b2a63f881c738a 100755 (executable)
@@ -1,8 +1,13 @@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl
 
 use warnings;
 use strict;
 
+# Sanitize environent for taint
+BEGIN{
+    delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
+}
+
 use POSIX qw(strftime);
 use MIME::Parser;
 use MIME::Decoder;
index b70a5cb6b997dd06ee3629471fe055ec2b90384b..4f4ea800af986fcd38f0c58ba04dd8e121a41a95 100755 (executable)
 use warnings;
 use strict;
 
+# Sanitize environent for taint
+BEGIN{
+    delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
+}
+
 use POSIX qw(strftime nice);
 
 use Debbugs::Config qw(:globals :text :config);
index 923c161536929dc69d3ccf9f66657a61750b2bab..ae5278c784f03bda2b10cedc0da05c505aa7aed9 100644 (file)
@@ -29,6 +29,9 @@ debbugs (2.4.2~exp1) experimental; urgency=low
     Wirzenius
   * Don't RFC1522 escape ", ( and ). (Closes: #588859). Thanks to Glenn
     Morris
+  * Various changes to make debbugs-local work better (Closes: #585796) 
+    - Add libnet-server-fork-perl to Depends for debbugs-local
+    - Sanitize env in -T code
 
  -- Don Armstrong <don@debian.org>  Wed, 26 Aug 2009 21:32:53 -0700