Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-25553

RemoteClusterService.refresh could cause array out of bound

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.0.0
    • XDCR
    • None
    • Untriaged
    • Unknown

    Description

      The following line could cause arrayOutOfBound if index is the last element in the array (index+1).

      new_nodes_connectionstr := append(ref_cache.nodes_connectionstr[:index], ref_cache.nodes_connectionstr[index+1:]...)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            neil.huang Neil Huang
            jliang John Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty