Merge branch 'master' into patch-1

This commit is contained in:
Kim Kulling
2021-05-27 08:35:29 +02:00
committed by GitHub
132 changed files with 1054 additions and 863 deletions

View File

@@ -177,9 +177,7 @@ void Logger::debug(const char *message) {
// ----------------------------------------------------------------------------------
void Logger::verboseDebug(const char *message) {
// SECURITY FIX: otherwise it's easy to produce overruns since
// sometimes importers will include data from the input file
// (i.e. node names) in their messages.
// SECURITY FIX: see above
if (strlen(message) > MAX_LOG_MESSAGE_LENGTH) {
return OnVerboseDebug("<fixme: long message discarded>");
}