SafeNum int32/int32 and int64/int64 internal addition routines rely on undefined behavior

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.5.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In safe_num.cpp, the addInt32Int32 and addInt64Int64 routines incorrectly assume meaningful outcomes from signed integer overflow, which is actually undefined behavior.

              Assignee:
              Unassigned
              Reporter:
              Andrew Morrow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: