[ https://issues.apache.org/jira/browse/ZOOKEEPER-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638624#action_12638624 ]
Mahadev konar commented on ZOOKEEPER-183: ----------------------------------------- maxim, would you like to file a patch for this? on instructions on how to file a patch please take a look at http://wiki.apache.org/hadoop/ZooKeeper/HowToContribute > 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.