diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2020-02-13 14:27:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 14:27:49 -0800 |
commit | efcf98fc7885dc423bdf61b3423dddc63c36075f (patch) | |
tree | c39644aaa7f2e717383860b7b0eb12760e2ec3e6 /tests/src/JIT/Regression/JitBlue/GitHub_13822/GitHub_13822.ilproj | |
parent | a86e825a641cf637d641e35f9ca88b65fe7ae801 (diff) | |
download | coreclr-efcf98fc7885dc423bdf61b3423dddc63c36075f.tar.gz coreclr-efcf98fc7885dc423bdf61b3423dddc63c36075f.tar.bz2 coreclr-efcf98fc7885dc423bdf61b3423dddc63c36075f.zip |
Port of dotnet/runtime#1059 to 3.1 branch (#27986)
This is the fix for #27924. This is a GC hole bug that was found externally, #27590.
The cause is that the JIT was using the target type of the subtract when it needed
to make a copy of the source, but it needs to use the source type.
## Customer Impact
Corruption of state that is non-deterministic and hard to track down.
## Regression?
Not a recent regression, but exposed by Unsafe.ByteOffset.
## Testing
The fix has been verified in the runtime repo.
## Risk
Low: The fix is straightfoward and only impacts 3 lines of code.
Diffstat (limited to 'tests/src/JIT/Regression/JitBlue/GitHub_13822/GitHub_13822.ilproj')
0 files changed, 0 insertions, 0 deletions