/[smeserver]/rpms/e-smith-LPRng/sme10/e-smith-LPRng-2.6.0-bz12106-untainting.patch
ViewVC logotype

Annotation of /rpms/e-smith-LPRng/sme10/e-smith-LPRng-2.6.0-bz12106-untainting.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sun Jul 17 04:27:59 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-LPRng-2_6_0-8_el7_sme
* Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- untainting port cleanly [SME: 12106]

1 jpp 1.1 diff -Nur --no-dereference e-smith-LPRng-2.6.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/printers.pm e-smith-LPRng-2.6.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/printers.pm
2     --- e-smith-LPRng-2.6.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/printers.pm 2004-01-06 21:03:18.000000000 -0500
3     +++ e-smith-LPRng-2.6.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/printers.pm 2022-07-17 00:25:46.542000000 -0400
4     @@ -238,7 +238,7 @@
5     }
6    
7     my $location = $q->param ('location');
8     - if ($location =~ /^(.*)$/)
9     + if ($location =~ /^(lp0|lp1|lp2|remote|usb\/lp0|usb\/lp1)$/)
10     {
11     $location = $1;
12     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed