[SCM] Vim packaging branch, debian, updated. upstream/7.2.130-289-g33a8ff5

James Vega jamessan at debian.org
Fri Apr 17 14:57:41 UTC 2009


The following commit has been merged in the debian branch:
commit 33a8ff5f7cb85555d6a4ef2d21811e92386463bf
Author: James Vega <jamessan at debian.org>
Date:   Fri Apr 17 10:56:55 2009 -0400

    helpztags: Sanity check filenames being processed.
    
    Closes: #523963
    
    Signed-off-by: James Vega <jamessan at debian.org>

diff --git a/debian/helpztags b/debian/helpztags
index 7a369a5..75e3166 100644
--- a/debian/helpztags
+++ b/debian/helpztags
@@ -53,6 +53,7 @@ foreach $dir (@ARGV) {
   print "Processing ".$dir."\n";
   open(TAGSFILE,">tags") || die "Error: Cannot open $dir/tags for writing.\n";
   foreach $file (<*.{gz,txt}>) {
+    next unless $file =~ m/^[\w.-]+\.txt(?:.gz)?$/;
     do { open(GZ, "zcat $file|") if ($file =~ /\.gz$/) } or open(GZ,$file);
     while (<GZ>) {
         # From vim61/src/ex_cmds.c, lines 5034-5036

-- 
Vim packaging



More information about the pkg-vim-maintainers mailing list