/[smeserver]/rpms/e-smith-hosts/sme8/e-smith-hosts-2.2.0-trap_croak.patch
ViewVC logotype

Annotation of /rpms/e-smith-hosts/sme8/e-smith-hosts-2.2.0-trap_croak.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Oct 14 17:58:56 2010 UTC (14 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-hosts-2_2_0-13_el5_sme, e-smith-hosts-2_2_0-10_el5_sme, e-smith-hosts-2_2_0-9_el5_sme, e-smith-hosts-2_2_0-12_el5_sme, e-smith-hosts-2_2_0-11_el5_sme, e-smith-hosts-2_2_0-6_el5_sme, e-smith-hosts-2_2_0-4_el5_sme, e-smith-hosts-2_2_0-7_el5_sme, e-smith-hosts-2_2_0-5_el5_sme, e-smith-hosts-2_2_0-8_el5_sme, HEAD
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
- Trap croak inside Net::IPv4Addr::ipv4_in_network [SME: 6288]

1 slords 1.1 diff -up e-smith-hosts-2.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm.trap_croak e-smith-hosts-2.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm
2     --- e-smith-hosts-2.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm.trap_croak 2010-10-14 11:05:18.000000000 -0600
3     +++ e-smith-hosts-2.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/hostentries.pm 2010-10-14 11:57:35.000000000 -0600
4     @@ -717,7 +717,7 @@ sub must_be_local
5     foreach my $spec (@local_list)
6     {
7     next if $spec eq '127.0.0.1';
8     - if (Net::IPv4Addr::ipv4_in_network($spec, $localip))
9     + if (eval{Net::IPv4Addr::ipv4_in_network($spec, $localip)})
10     {
11     return 'OK';
12     }

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