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