You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Wei Zhou (JIRA)" <ji...@apache.org> on 2015/10/13 16:58:05 UTC

[jira] [Closed] (CLOUDSTACK-4421) Fix potential issues caused by grep and sed in cloudstack

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

Wei Zhou closed CLOUDSTACK-4421.
--------------------------------
    Resolution: Won't Fix

> Fix potential issues caused by grep and sed in cloudstack
> ---------------------------------------------------------
>
>                 Key: CLOUDSTACK-4421
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4421
>             Project: CloudStack
>          Issue Type: Task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.1.0, 4.2.0
>            Reporter: Wei Zhou
>
> In CloudStack, many issues are caused by grep and sed command in scripts or java files.
> For example, "ps -ef|grep aaa" to search for process named aaa could return true  if there is a process named aaaa.
> We need to check all the files and fix potential issues.
> For instance,
> (1) search another file or use "grep -w" instead of "grep"
> (2) add more characters in "/s" part of "sed" command
> If you are interested in checking some parts of the source codes, please feel free to add a sub-task.



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