Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23712

Aggregation unit tests use signed integer overflow

    • Fully Compatible
    • ALL
    • Hide

      Run the aggregation unit tests under the undefined behavior sanitizer

      Show
      Run the aggregation unit tests under the undefined behavior sanitizer
    • Platforms 13 (04/22/16)

      The aggregation arithmetic operations are specified to wrap, but they are implemented in terms of signed integral types. The unit tests for these operations are written such that expected values are formed by forcing signed integral values to overflow, expecting that they wrap, which is undefined behavior.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: