Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/src/Internal/NativeFormat/NativeFormatReader.cs')
-rw-r--r--src/Common/src/Internal/NativeFormat/NativeFormatReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/src/Internal/NativeFormat/NativeFormatReader.cs b/src/Common/src/Internal/NativeFormat/NativeFormatReader.cs
index beb49d932..f10028e4f 100644
--- a/src/Common/src/Internal/NativeFormat/NativeFormatReader.cs
+++ b/src/Common/src/Internal/NativeFormat/NativeFormatReader.cs
@@ -223,7 +223,7 @@ namespace Internal.NativeFormat
public NativeReader(byte* base_, uint size)
{
// Limit the maximum blob size to prevent buffer overruns triggered by boundary integer overflows
- if (size >= UInt32.MaxValue / 4)
+ if (size >= uint.MaxValue / 4)
ThrowBadImageFormatException();
Debug.Assert(base_ <= base_ + size);