hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11848) Incorrect arguments to sizeof in DomainSocket.c
Date Thu, 23 Apr 2015 13:20:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509025#comment-14509025
] 

Hudson commented on HADOOP-11848:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #173 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/173/])
HADOOP-11848. Incorrect arguments to sizeof in DomainSocket.c (Malcolm Kavalsky via Colin
P. McCabe) (cmccabe: rev a3b1d8c90288a6237089a98d4a81c25f44aedb2c)
* hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/net/unix/DomainSocket.c
* hadoop-common-project/hadoop-common/CHANGES.txt


> 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