Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37856234
en ru br
ALT Linux repos
S:5.510-alt1
5.0: 5.427-alt1
4.1: 5.420-alt1
4.0: 5.420-alt1
3.0: 5.417-alt1

Group :: Development/Perl
RPM: perl-MIME-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: perl-MIME-tools-5.417-cpan-7368-stderr.patch
Download


the h_utf8 subroutine still has two debug print statements to STDERR
that can harm a server application
http://rt.cpan.org/NoAuth/Bug.html?id=7368
--- MIME-tools-5.417/lib/MIME/WordDecoder.pm-	2004-09-07 15:13:54 +0000
+++ MIME-tools-5.417/lib/MIME/WordDecoder.pm	2005-05-12 14:50:05 +0000
@@ -399,7 +399,6 @@ sub h_utf8 {  
     local $_    = $_[0];
 #   my $unknown = $_[2]->{MWDI_Unknown};
     my $latin1 = ($_[2]->{MWDI_Num} == 1);
-    print STDERR "UTF8 in:  <$_>\n"; 
 
     my $tgt = '';
     while (m{\G(
@@ -415,7 +414,6 @@ sub h_utf8 {  
         else                           { $tgt .= "\x00" }
     }
 
-    print STDERR "UTF8 out: <$tgt>\n"; 
     $tgt;
 }
 
@@ -426,7 +424,6 @@ sub h_utf16 {  
     local $_    = $_[0];
 #   my $unknown = $_[2]->{MWDI_Unknown};
     my $latin1 = ($_[2]->{MWDI_Num} == 1);
-    print STDERR "UTF16 in:  <$_>\n"; 
 
     my $tgt = '';
     while (m{\G(
@@ -441,7 +438,6 @@ sub h_utf16 {  
         else                           { $tgt .= "\x00" }
     }
 
-    print STDERR "UTF16 out: <$tgt>\n"; 
     $tgt;
 }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin