From d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 5 Sep 2016 15:47:22 -0700 Subject: More tweaks to path behavior. --- node/Utils.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'node/Utils.cpp') 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"); } -- cgit v1.2.3