projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140b2bd
)
Check pointer before dereferencing it (#7930)
author
Dmitry-Me
<Dmitry-Me@users.noreply.github.com>
Wed, 2 Nov 2016 17:42:41 +0000
(20:42 +0300)
committer
Dan Moseley
<danmose@microsoft.com>
Wed, 2 Nov 2016 17:42:41 +0000
(10:42 -0700)
src/debug/daccess/nidump.cpp
patch
|
blob
|
history
diff --git
a/src/debug/daccess/nidump.cpp
b/src/debug/daccess/nidump.cpp
index
5c6c4e4
..
c07229a
100644
(file)
--- a/
src/debug/daccess/nidump.cpp
+++ b/
src/debug/daccess/nidump.cpp
@@
-1187,12
+1187,12
@@
NativeImageDumper::DumpNativeImage()
mscorlib->fIsMscorlib = TRUE;
_ASSERTE(mscorlib->fIsHardbound);
}
+
+ _ASSERTE(mscorlib != NULL);
if( mscorlib->fIsHardbound )
{
m_isMscorlibHardBound = true;
}
-
- _ASSERTE(mscorlib != NULL);
if( m_isMscorlibHardBound )
{
//go through the module to the binder.