diff options
Diffstat (limited to 'src/debug/ildbsymlib/symwrite.h')
-rw-r--r-- | src/debug/ildbsymlib/symwrite.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/debug/ildbsymlib/symwrite.h b/src/debug/ildbsymlib/symwrite.h index 055b8ec21f..54ab11a9a2 100644 --- a/src/debug/ildbsymlib/symwrite.h +++ b/src/debug/ildbsymlib/symwrite.h @@ -839,7 +839,8 @@ public: { // Help mitigate the impact of buffer overflow // Fail fast with a null-reference AV - return *(static_cast<T*>(0)) ; + volatile char* nullPointer = nullptr; + *nullPointer; } return m_array[ i ]; } |