/[smeserver]/rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10209-unitializedUsername.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-bz10209-unitializedUsername.patch

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


Revision 1.1 - (show annotations) (download)
Wed Apr 5 14:37:42 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-manager-2_8_0-33_el7_sme, e-smith-manager-2_8_0-27_el7_sme, e-smith-manager-2_8_0-35_el7_sme, e-smith-manager-2_8_0-30_el7_sme, e-smith-manager-2_8_0-37_el7_sme, e-smith-manager-2_8_0-32_el7_sme, e-smith-manager-2_8_0-34_el7_sme, e-smith-manager-2_8_0-28_el7_sme, e-smith-manager-2_8_0-24_el7_sme, e-smith-manager-2_8_0-38_el7_sme, e-smith-manager-2_8_0-29_el7_sme, e-smith-manager-2_8_0-31_el7_sme, e-smith-manager-2_8_0-20_el7_sme, e-smith-manager-2_8_0-22_el7_sme, e-smith-manager-2_8_0-25_el7_sme, e-smith-manager-2_8_0-26_el7_sme, e-smith-manager-2_8_0-36_el7_sme, e-smith-manager-2_8_0-21_el7_sme, HEAD
Error occurred while calculating annotation data.
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-20.sme
- fix warning uninitialized value in lc [SME: 10209]

1 diff -Nur e-smith-manager-2.8.0.old/root/etc/e-smith/web/common/cgi-bin/login e-smith-manager-2.8.0/root/etc/e-smith/web/common/cgi-bin/login
2 --- e-smith-manager-2.8.0.old/root/etc/e-smith/web/common/cgi-bin/login 2017-04-05 10:33:51.386000000 -0400
3 +++ e-smith-manager-2.8.0/root/etc/e-smith/web/common/cgi-bin/login 2017-04-05 10:34:50.011000000 -0400
4 @@ -122,7 +122,7 @@
5 my ($mode, $location, $suffix) = fileparse($ENV{SCRIPT_NAME}, '\.cgi', '\.pl');
6 $mode = 'login' unless $mode eq 'guest' || $mode eq 'autologin';
7 my $self_redirect = $q->param('redirect') || 0;
8 -my $username = lc($q->param('username'));
9 +my $username = lc($q->param('username')||'');
10 my $password = $q->param('password');
11 my $timeout = $q->param('timeout');
12 my $unauth = $q->param('unauth');

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