[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638826#action_12638826
 ] 

Maxim P. Dementiev commented on ZOOKEEPER-183:
----------------------------------------------

Thanks for your comment.
I will.

> 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
>
> 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.

Reply via email to