I demand that Rainer Zocholl may or may not have written...
Again: The most beloved problem: Reentrancy...
This C-Function in tools.c looks suspicious:
cString TimeToString(time_t t) { char buffer[32]; if (ctime_r(&t, buffer)) { buffer[strlen(buffer) - 1] = 0; // strip trailing newline return buffer; } return "???"; }
That's harmless.
Those return statements are effectively 'return cString (<string>, false)', and the cString constructor will call strdup() if its second parameter is false (and note that that parameter is declared as having a default value).
[snip]
Having a deja vue: I thought all that was "overworked" with the "thread-save" patches 3 month ago?
It was exhausted, it hasn't recovered, and no threads were saved. ;-)