summaryrefslogtreecommitdiff
path: root/src/vm/eventpipebuffer.cpp
diff options
context:
space:
mode:
authorAdam Sitnik <adam.sitnik@microsoft.com>2018-02-05 21:57:33 +0100
committerAdam Sitnik <adam.sitnik@microsoft.com>2018-02-05 21:57:33 +0100
commit602dfa725b0230e87215eaf18131b60f19c1b6c2 (patch)
tree7fc780437f8496bf474155f1da640713ac7190d2 /src/vm/eventpipebuffer.cpp
parent2c251d4d992108049adeb9a6112768b095e4e127 (diff)
downloadcoreclr-602dfa725b0230e87215eaf18131b60f19c1b6c2.tar.gz
coreclr-602dfa725b0230e87215eaf18131b60f19c1b6c2.tar.bz2
coreclr-602dfa725b0230e87215eaf18131b60f19c1b6c2.zip
fix the Incorrect EventPipe Assert, fixes #16158
Diffstat (limited to 'src/vm/eventpipebuffer.cpp')
-rw-r--r--src/vm/eventpipebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/eventpipebuffer.cpp b/src/vm/eventpipebuffer.cpp
index d88dd165e0..16398714cd 100644
--- a/src/vm/eventpipebuffer.cpp
+++ b/src/vm/eventpipebuffer.cpp
@@ -260,7 +260,7 @@ bool EventPipeBuffer::EnsureConsistency()
_ASSERTE(pInstance->EnsureConsistency());
// Validate that payload and length match.
- _ASSERTE((pInstance->GetData() != NULL && pInstance->GetDataLength() > 0) || (pInstance->GetData() != NULL && pInstance->GetDataLength() == 0));
+ _ASSERTE((pInstance->GetData() != NULL && pInstance->GetDataLength() > 0) || (pInstance->GetData() == NULL && pInstance->GetDataLength() == 0));
// Skip the event.
ptr += sizeof(*pInstance) + pInstance->GetDataLength();