Open MangaD opened 8 years ago
Looks :+1: if it's not a false positive. Submit a PR.
I just checked and I think it is a false positive, sorry.
It did seem to be :P
@MangaD It could be that whatever you're passing as title
has uninitialized bytes or something.
@kirbyfan64 I am inclined to believe that it is related with libstdc++ not being compiled with memory sanitizer, not sure though.
There is a problem with the
setConsoleTitle
function. It usesconst char *
as string parameter for the print function when compiling with C++. This seems to be a problem because when compiling with clang++ and with the flag-fsanitizer=memory
, I just get a warning about uninitialized value at the line:RLUTIL_PRINT(true_title);
So, I'd advise to change the code of that function to: