Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

ARM64: Don't track LR as part of NV-Context #5666

Merged
merged 1 commit into from
Jun 10, 2016

Conversation

swaroop-sridhar
Copy link

The _pc and _sp fields actually refer to the caller's PC and SP values.
So, remove read/writes of LR in captureX19_X29 array of ARM64 MachState.
This change fixes a buffer overflow problem.

The _pc and _sp fields actually refer to the caller's PC and SP values.
So, remove read/writes of LR in captureX19_X29 array of ARM64 MachState.
This change fixes a buffer overflow problem.
@swaroop-sridhar
Copy link
Author

@dotnet-bot test Windows_NT arm64 Checked

@swaroop-sridhar
Copy link
Author

@rahku please review

@rahku
Copy link

rahku commented Jun 9, 2016

Thanks. Looks good.

@briansull
Copy link

Looks Good

@swaroop-sridhar swaroop-sridhar merged commit 6ff6621 into dotnet:master Jun 10, 2016
@swaroop-sridhar swaroop-sridhar deleted the LR branch June 10, 2016 00:31
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
ARM64: Don't track LR as part of NV-Context

Commit migrated from dotnet/coreclr@6ff6621
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants