diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-05 15:47:22 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-05 15:47:22 -0700 |
| commit | d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7 (patch) | |
| tree | 732c5730cba763be298e58b61083a4e2f5201656 /node/Utils.cpp | |
| parent | eebcf08084097fc7cd8703a11686e66157fa8efa (diff) | |
| download | infinitytier-d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7.tar.gz infinitytier-d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7.zip | |
More tweaks to path behavior.
Diffstat (limited to 'node/Utils.cpp')
| -rw-r--r-- | node/Utils.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Utils.cpp b/node/Utils.cpp index 2d9515ee..9d67fc22 100644 --- a/node/Utils.cpp +++ b/node/Utils.cpp @@ -292,6 +292,7 @@ unsigned int Utils::snprintf(char *buf,unsigned int len,const char *fmt,...) if ((n >= (int)len)||(n < 0)) { if (len) buf[len - 1] = (char)0; + abort(); throw std::length_error("buf[] overflow in Utils::snprintf"); } |
