/[smeserver]/rpms/e-smith-quota/sme8/e-smith-quota-1.10.0-UntaintAccountName.patch
ViewVC logotype

Contents of /rpms/e-smith-quota/sme8/e-smith-quota-1.10.0-UntaintAccountName.patch

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 19:31:00 2007 UTC (17 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-quota-1_10_0-6_el5_sme, e-smith-quota-1_10_0-5_el5_sme, e-smith-quota-1_10_0-8_el5_sme, e-smith-quota-1_10_0-11_el5_sme, e-smith-quota-1_10_0-9_el5_sme, e-smith-quota-1_10_0-10_el5_sme, e-smith-quota-1_10_0-7_el5_sme
Import on branch sme8 of package e-smith-quota-1.10.0-5.el5.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-quota-1.10.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/quota.pm mezzanine_patched_e-smith-quota-1.10.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/quota.pm
2 --- e-smith-quota-1.10.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/quota.pm 2006-07-17 03:38:24.000870928 +1000
3 +++ mezzanine_patched_e-smith-quota-1.10.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/quota.pm 2006-07-17 03:35:43.042014668 +1000
4 @@ -318,7 +318,7 @@
5 $rec->set_prop('MaxBlocksSoftLim', $softlim);
6
7 # Untaint $acct before using in system().
8 - $acct =~ /(\w*)/; $acct = $1;
9 + $acct =~ /^(\w[\-\w_\.]+)$/; $acct = $1;
10 system ("/sbin/e-smith/signal-event", "user-modify", "$acct") == 0
11 or die ($self->localise('ERR_MODIFYING')."\n");
12

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