Closed thecom closed 1 year ago
OpenJKDF2 crashed randomly for me. I think I traced the error to stdPlatform_Printf(). There both vprintf() and vsnprintf() seem to consume the variadic arguments. If I insert va_end(args); va_start(args, fmt); between both calls, the crashes stop.
stdPlatform_Printf()
vprintf()
vsnprintf()
va_end(args); va_start(args, fmt);
I'm no C expert, does this make sense?
Oh I actually just fixed this last night, it caused a crash on x86_64 Linux specifically for some reason
Specifically though, bca3d9873538ab76dcfa64277c9fc243990b3ed2
Awesome, fix confirmed. Thanks a lot!
OpenJKDF2 crashed randomly for me. I think I traced the error to
stdPlatform_Printf()
. There bothvprintf()
andvsnprintf()
seem to consume the variadic arguments. If I insertva_end(args); va_start(args, fmt);
between both calls, the crashes stop.I'm no C expert, does this make sense?