Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274632

Possible pointer overflow in PretouchTask chunk claiming

XMLWordPrintable

    • gc
    • b18
    • Verified

        PretouchTask unconditionally (atomically) adds _chunk_size to _cur_addr to claim the next chunk. That addition can overflow. There is followup code that attempts to detect and handle overflow, but since pointer arithmetic overflow is UB, that isn't reliable.

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: