[ 
https://issues.apache.org/jira/browse/HADOOP-9443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Srinivas updated HADOOP-9443:
------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   2.0.5-beta

I merged the patch to branch-2.
                
> Port winutils static code analysis change to trunk
> --------------------------------------------------
>
>                 Key: HADOOP-9443
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9443
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>             Fix For: 2.0.5-beta
>
>         Attachments: HADOOP-9443-trunk.patch
>
>
> We hit a problem in winutils when running tests on Windows. The static code 
> analysis change will fix the problem. More specifically, the old code always 
> assumes the security descriptor get from GetSecurityDescriptorControl() is 
> relative, and will make an absolute security descriptor out of it. The new 
> absolute security descriptor will then pass to SetSecurityDescriptorDacl() to 
> set permissions on the file. If the security descriptor is absolute, the new 
> absolute security descriptor will be NULL, and we will run into the problem. 
> This is what happened exactly in our case. The fix from static code analysis 
> will solve the problem.

--
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

Reply via email to