Created attachment 2613[details]
partial fix
Looks like MSVC' implementation of [_]vsprintf() function doesn't put final '\0' in case of text overflow - means resulting string becomes unterminated, also it returns -1 in that case. Bug affects mingw builds too (imports msvcrt.dll)
Suggested solution is for engine only atm
Created attachment 2613 [details] partial fix Looks like MSVC' implementation of [_]vsprintf() function doesn't put final '\0' in case of text overflow - means resulting string becomes unterminated, also it returns -1 in that case. Bug affects mingw builds too (imports msvcrt.dll) Suggested solution is for engine only atm
Created attachment 2616 [details] engine fix updated fix