| Summary: | nfs.rpc-auth-allow/reject accepts invalid ip address. | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Gaurav <ggangalw> |
| Component: | nfs | Assignee: | Kaushal <kaushal> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.3 | CC: | gluster-bugs, jbyers, matthias.babisch, sgowda, vbellur, vijay, vinaraya |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-03 08:59:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gaurav
2011-03-30 05:55:13 UTC
*** Bug 2935 has been marked as a duplicate of this bug. *** Why couldn't this fix have been incorporated into GlusterFS 3.2.3 released on 23-Aug-2011? Reopening, Patch not commited. Planing to keep 3.4.x branch as "internal enhancements" release without any features. So moving these bugs to 3.4.0 target milestone. *** Bug 783110 has been marked as a duplicate of this bug. *** Kaushal, Can you please confirm if this still exists? If not, please close this bug. Thanks The ip address validations occur correctly now. Regarding the example used here, the value '000' is treated as a hostname and will be validated successfully. Amazingly, this problem *still* is not fixed in GlusterFS
version 3.2.7, and presumably not in 3.2.6 either.
The bug is that you are using strtok_r() which modifies the
input param without first using strdup() to make a private
version of the string.
You fixed this way back in 2011-05-24, but seem unable
to carry this fix over to later releases:
Patchwork [BUG:2935] NFS rpc auth: handle multiple host/ip args
http://patches.gluster.com/patch/7233/
Submitter shishir gowda
Date 2011-05-24 11:03:51
|