Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 189921 Details for
Bug 282371
Modification of a read-only value attempted error (Question.pm Resolver/Base.pm)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The fix
perl-Net-DNS-0.60-fix.patch (text/plain), 830 bytes, created by
Aleksander Adamowski
on 2007-09-07 13:40:55 UTC
(
hide
)
Description:
The fix
Filename:
MIME Type:
Creator:
Aleksander Adamowski
Created:
2007-09-07 13:40:55 UTC
Size:
830 bytes
patch
obsolete
>diff -urN DNS/Question.pm DNS.fixed/Question.pm >--- DNS/Question.pm 2007-06-21 16:40:00.000000000 +0200 >+++ DNS.fixed/Question.pm 2007-09-07 15:14:01.000000000 +0200 >@@ -44,6 +44,7 @@ > sub new { > my $class = shift; > >+ local $_; > my $qname = defined ($_ = shift) ? $_ : ''; > my $qtype = uc shift || 'A'; > my $qclass = uc shift || 'IN'; >diff -urN DNS/Resolver/Base.pm DNS.fixed/Resolver/Base.pm >--- DNS/Resolver/Base.pm 2007-06-21 16:39:59.000000000 +0200 >+++ DNS.fixed/Resolver/Base.pm 2007-09-07 15:16:27.000000000 +0200 >@@ -1478,6 +1478,7 @@ > # The next two is lightweight versions of subroutines from Net::IP module > > sub _ip_is_ipv4 { >+ local $_; > $_ = shift; > > return 0 if !m/^[\d\.]+$/ || m/^\./ || m/\.$/; >@@ -1501,6 +1502,7 @@ > } > > sub _ip_is_ipv6 { >+ local $_; > $_ = shift; > > # Count octets
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282371
: 189921