----------------------------------------------------------------------------------
| 164 | |
| 165 | // ---------------------------------------------------------------------------------- |
| 166 | void Logger::debug(const char *message) { |
| 167 | |
| 168 | // SECURITY FIX: otherwise it's easy to produce overruns since |
| 169 | // sometimes importers will include data from the input file |
| 170 | // (i.e. node names) in their messages. |
| 171 | if (strlen(message) > MAX_LOG_MESSAGE_LENGTH) { |
| 172 | return OnDebug("<fixme: long message discarded>"); |
| 173 | } |
| 174 | return OnDebug(message); |
| 175 | } |
| 176 | |
| 177 | // ---------------------------------------------------------------------------------- |
| 178 | void Logger::verboseDebug(const char *message) { |
no outgoing calls
no test coverage detected