[
https://issues.apache.org/jira/browse/HDFS-4401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553306#comment-13553306
]
Todd Lipcon commented on HDFS-4401:
-----------------------------------
+1. I tested this locally by verifying that '/tmp/dn-sock' is no longer
allowed, but a valid path like '/home/todd/dn-sock' works fine.
> Fix bug in DomainSocket path validation
> ---------------------------------------
>
> Key: HDFS-4401
> URL: https://issues.apache.org/jira/browse/HDFS-4401
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Priority: Minor
> Attachments: HDFS-4401.001.patch
>
>
> DomainSocket path validation currently does not validate the second-to-last
> path component. This leads to insecure socket paths being accepted. It
> should validate all path components prior to the final one.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira