Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-589

nil pointer dereference while handling errors when no StreamFilter is supplied to OpenStream

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0-beta
    • 2.0.0-alpha1
    • library
    • None
    • 1

    Description

      The OpenStream method can optionally accept a StreamFilter, upon receiving an error the handler function assumes that the stream filter is not nil causing a nil pointer deference. This occurs on the line containing 'evtHandler.End(vbId, filter.StreamId, err)' in 'agentops_dcp.go'.

      Attachments

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

        Activity

          People

            charles.dixon Charles Dixon
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty