From 6383d824ceff7d6b3c16dd7c71747f36089c16ad Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 4 Jul 2015 08:51:08 +1000 Subject: Throw an exception for a negative sized reallocation as occurs when asked for more than 2GB. --- src/ContractionState.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 7b7655420..16ca3c531 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -7,6 +7,7 @@ #include +#include #include #include "Platform.h" -- cgit v1.2.3