You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/10/14 18:47:44 UTC

[jira] Assigned: (ZOOKEEPER-183) Array subscript is above array bounds in od_completion(), src/cli.c.

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

Patrick Hunt reassigned ZOOKEEPER-183:
--------------------------------------

    Assignee: Maxim P. Dementiev

> Array subscript is above array bounds in od_completion(), src/cli.c.
> --------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-183
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-183
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>         Environment: Linux
>            Reporter: Maxim P. Dementiev
>            Assignee: Maxim P. Dementiev
>         Attachments: ZOOKEEPER-183.patch
>
>
> Having:
>         char buf[4096*16];
> Present:
>         buf[sizeof(buf)]=0;
> Must be:
>         buf[sizeof(buf)-1]=0;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.