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

Possible segfault in zookeeper_init

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.3, 3.4.0
    • 3.4.1, 3.5.0
    • c client
    • None
    • Reviewed

    Description

      zookeeper_init does not check the return value of strdup(index_chroot).
      When it returns NULL, it causes segfault when it try to strlen(zh->chroot).

      Attachments

        1. ZOOKEEPER-1317.patch
          0.5 kB
          Akira Kitada

        Activity

          People

            akitada Akira Kitada
            akitada Akira Kitada
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: