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

Fix UB in decimal128_test

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.6
    • Affects Version/s: 3.3.5
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide

      Run unittests with UBSAN

      Show
      Run unittests with UBSAN
    • 0

      src/mongo/platform/decimal128_test.cpp:868:5: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: