You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2011/07/19 23:26:57 UTC
[jira] [Created] (HADOOP-7476) task-controller can drop last char
from config file
task-controller can drop last char from config file
---------------------------------------------------
Key: HADOOP-7476
URL: https://issues.apache.org/jira/browse/HADOOP-7476
Project: Hadoop Common
Issue Type: Bug
Components: security
Affects Versions: 0.20.203.0
Reporter: Allen Wittenauer
Priority: Trivial
It looks as though task-controller's configuration file reader assumes that the output of getline() always ends with \n\0. This assumption does not appear to be safe. See comments for more.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HADOOP-7476) task-controller can drop last char
from config file
Posted by "Aaron T. Myers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-7476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aaron T. Myers resolved HADOOP-7476.
------------------------------------
Resolution: Duplicate
> task-controller can drop last char from config file
> ---------------------------------------------------
>
> Key: HADOOP-7476
> URL: https://issues.apache.org/jira/browse/HADOOP-7476
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 0.20.203.0
> Reporter: Allen Wittenauer
> Priority: Trivial
>
> It looks as though task-controller's configuration file reader assumes that the output of getline() always ends with \n\0. This assumption does not appear to be safe. See comments for more.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira