Aggregation unit tests use signed integer overflow

XMLWordPrintableJSON

    • 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)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: