Skip to content

Commit d9dc060

Browse files
committed
Revert IsVulnerableToAvInDac version
1 parent 41699ad commit d9dc060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BenchmarkDotNet/Disassemblers/ClrMdV2Disassembler.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ internal abstract class ClrMdV2Disassembler
1616
{
1717
// Translating an address to a method can cause AV and a process crash (https://github.com/dotnet/BenchmarkDotNet/issues/2070).
1818
// It was fixed in https://github.com/dotnet/runtime/pull/79846,
19-
// and backported to 7.0.3 (https://github.com/dotnet/runtime/pull/79862).
20-
protected static readonly bool IsVulnerableToAvInDac = !RuntimeInformation.IsWindows() && Environment.Version < new Version(7, 0, 3);
19+
// and most likely will be backported to 7.0.2 very soon (https://github.com/dotnet/runtime/pull/79862).
20+
protected static readonly bool IsVulnerableToAvInDac = !RuntimeInformation.IsWindows() && Environment.Version < new Version(7, 0, 2);
2121

2222
internal DisassemblyResult AttachAndDisassemble(Settings settings)
2323
{

0 commit comments

Comments
 (0)