align_up has potential overflow

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: None
    • Component/s: hotspot
    • b26
    • Fix failed

      align_up contains (size + alignment_mask(alignment)), which could overflow and produce an incorrect result. There should be an assert to check for such.

            Assignee:
            Casper Norrbin
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: