diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-07-04 08:51:08 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-07-04 08:51:08 +1000 |
commit | 508e2c9c45b3f68a8c8ac32878bdede0d07bfa52 (patch) | |
tree | 969e556659b350f417d179123b76387176331047 /src/Decoration.cxx | |
parent | 6852a57b20e1a514e6c504e8f0bed0114eb0dfba (diff) | |
download | scintilla-mirror-508e2c9c45b3f68a8c8ac32878bdede0d07bfa52.tar.gz |
Throw an exception for a negative sized reallocation as occurs when asked
for more than 2GB.
Diffstat (limited to 'src/Decoration.cxx')
-rw-r--r-- | src/Decoration.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx index e7610e0b6..042ffcacb 100644 --- a/src/Decoration.cxx +++ b/src/Decoration.cxx @@ -9,6 +9,7 @@ #include <stdio.h> #include <stdarg.h> +#include <stdexcept> #include <algorithm> #include "Platform.h" |