HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
UBSan warnings about integer issues in chatline.cpp (S3_0, clang9)
I see the following errors in the qt client, after compiling with -fsanitize=undefined and clang9.
chatline.cpp:514:17: runtime error: inf is outside the range of representable values of type 'int' chatline.cpp:518:16: runtime error: signed integer overflow: 3 * -2147483648 cannot be represented in type 'int'
I get the same 2 errors for every savegame that I've tried. You see it just after you connect to the server.
#3 Updated by Marko Lindqvist 12 months ago
- File 0025-Qt-Avoid-division-by-zero-in-chatline-default_size.patch 0025-Qt-Avoid-division-by-zero-in-chatline-default_size.patch added
- File 0012-Qt-Avoid-division-by-zero-in-chatline-default_size.patch 0012-Qt-Avoid-division-by-zero-in-chatline-default_size.patch added
- Status changed from In Progress to Resolved
Does this patch help?