hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11848) Incorrect arguments to sizeof in DomainSocket.c
Date Wed, 22 Apr 2015 19:41:58 GMT

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

Colin Patrick McCabe updated HADOOP-11848:
------------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.6.1)
                   2.8.0
           Status: Resolved  (was: Patch Available)

> Incorrect arguments to sizeof in DomainSocket.c
> -----------------------------------------------
>
>                 Key: HADOOP-11848
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11848
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.6.0
>            Reporter: Malcolm Kavalsky
>            Assignee: Malcolm Kavalsky
>              Labels: native
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-11848.001.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Length of buffer to be zeroed using sizeof , should not use the address of the structure
rather the structure itself.
> DomainSocket.c line 156
> Replace current:
> memset(&addr,0,sizeof,(&addr));
> With:
> memset(&addr, 0, sizeof(addr));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message