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

Contents 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.2 - (show annotations) (download)
Sun Jul 17 04:45:24 2022 UTC (22 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-LPRng-2_6_0-9_el7_sme, HEAD
Changes since 1.1: +1 -1 lines
* Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- untainting port cleanly [SME: 12106]

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 =~ /^(lp[0-9]+|remote|usb\/lp0|usb\/lp[0-9]+)$/)
10 {
11 $location = $1;
12 }

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