This is a part of [JDK-8382392](https://bugs.openjdk.org/browse/JDK-8382392).

`LinuxAMD64CFrame` validates sender frame with CFA and FP. But SP should also 
be validated because return address would be pushed onto stack - it means SP 
should grow always when the function is called (`CALL` instruction for example).

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8390619: Validate sender SP before to return sender frame in 
LinuxAMD64CFrame.java

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

PR: https://git.openjdk.org/jdk/pull/32435

Reply via email to