[foreign-memaccess+abi] RFR: 8292851: MemorySegment arithmetics performed with int accuracy where long is required

Per Minborg duke at openjdk.org
Wed Aug 24 09:19:35 UTC 2022


This PR fixes a potentially severe `int` overflow issue.

-------------

Commit messages:
 - Use long arithmetics

Changes: https://git.openjdk.org/panama-foreign/pull/712/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=712&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292851
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/712.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign pull/712/head:pull/712

PR: https://git.openjdk.org/panama-foreign/pull/712


More information about the panama-dev mailing list