diff --git a/uhal/log/src/common/exception.cpp b/uhal/log/src/common/exception.cpp index e608dcec5..7d978eda4 100644 --- a/uhal/log/src/common/exception.cpp +++ b/uhal/log/src/common/exception.cpp @@ -103,7 +103,7 @@ namespace uhal void exception::append ( const char* aCStr ) throw() { - strncat ( mString, aCStr , 65536-strlen ( mString ) ); + strncat ( mString, aCStr , 65536-strlen ( mString ) - 1 ); } }