Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-183

Array subscript is above array bounds in od_completion(), src/cli.c.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • c client
    • None
    • Linux

    • Reviewed

    Description

      Having:
      char buf[4096*16];
      Present:
      buf[sizeof(buf)]=0;
      Must be:
      buf[sizeof(buf)-1]=0;

      Attachments

        1. ZOOKEEPER-183.patch
          0.4 kB
          Maxim P. Dementiev

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dememax Maxim P. Dementiev
            dememax Maxim P. Dementiev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment