hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Brennan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7455) quote_and_append_arg can overflow buffer
Date Fri, 01 Dec 2017 19:07:00 GMT

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

Jim Brennan commented on YARN-7455:
-----------------------------------

The same hadoop.yarn.server.nodemanager.webapp.TestNMWebServices that does not appear to be
related to my patch.
I've run these tests locally without failures.
Please review.

> quote_and_append_arg can overflow buffer
> ----------------------------------------
>
>                 Key: YARN-7455
>                 URL: https://issues.apache.org/jira/browse/YARN-7455
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.9.0, 3.0.0
>            Reporter: Jason Lowe
>            Assignee: Jim Brennan
>         Attachments: YARN-7455.001.patch, YARN-7455.002.patch, YARN-7455.003.patch
>
>
> While reviewing YARN-7197 I noticed that add_mounts in docker_util.c has a potential
buffer overflow since tmp_buffer is only 1024 bytes which may not be sufficient to hold the
specified mount path.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message