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 831874 Details for
Bug 1036032
with IPv6 link-local address parse err: invalid character "%"
[?]
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]
Patch - fix ipv6 link local address handling
autofs-5.0.8-fix-ipv6-link-local-address-handling.patch (text/plain), 1.20 KB, created by
Ian Kent
on 2013-12-03 03:18:37 UTC
(
hide
)
Description:
Patch - fix ipv6 link local address handling
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2013-12-03 03:18:37 UTC
Size:
1.20 KB
patch
obsolete
>autofs-5.0.8 - fix ipv6 link local address handling > >From: Ian Kent <raven@themaw.net> > >Stop the validate_location() function from choking on link local >ipv6 addresses. >--- > lib/rpc_subs.c | 6 ++++++ > modules/parse_sun.c | 2 +- > 2 files changed, 7 insertions(+), 1 deletion(-) > >--- autofs-5.0.7.orig/lib/rpc_subs.c >+++ autofs-5.0.7/lib/rpc_subs.c >@@ -669,6 +669,12 @@ static int create_client(struct conn_inf > goto done; > if (ret == -EHOSTUNREACH) > goto out_close; >+ if (ret == -EINVAL) { >+ char buf[MAX_ERR_BUF]; >+ char *estr = strerror_r(-ret, buf, MAX_ERR_BUF); >+ error(LOGOPT_ANY, "connect() failed: %s", estr); >+ goto out_close; >+ } > > if (!info->client && fd != RPC_ANYSOCK) { > close(fd); >--- autofs-5.0.7.orig/modules/parse_sun.c >+++ autofs-5.0.7/modules/parse_sun.c >@@ -893,7 +893,7 @@ static int validate_location(unsigned in > *ptr == '-' || *ptr == '.' || *ptr == '_' || > *ptr == ',' || *ptr == '(' || *ptr == ')' || > *ptr == '#' || *ptr == '@' || *ptr == ':' || >- *ptr == '[' || *ptr == ']')) { >+ *ptr == '[' || *ptr == ']' || *ptr == '%')) { > error(logopt, "invalid character \"%c\" " > "found in location %s", *ptr, loc); > return 0;
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 1036032
: 831874