hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuan Liu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9443) Port winutils static code analysis change to trunk
Date Fri, 29 Mar 2013 01:37:16 GMT

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

Chuan Liu updated HADOOP-9443:

    Attachment: HADOOP-9443-trunk.patch

Attach a patch for trunk.
> 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
>         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

View raw message