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

Wrong initial value type can result in std::accumulate overflow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Morpheus
    • master
    • couchbase-bucket
    • None
    • Untriaged
    • 0
    • Unknown

    Description

      As seen in MB-60625, passing 0 will make the accumulator type int,
      which can result in overflow.

      Attachments

        Issue Links

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

          Activity

            People

              pavlos.georgiou Pavlos Georgiou
              pavlos.georgiou Pavlos Georgiou
              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