[QtCurve] [Bug 374046] GCC address sanitizer-enabled apps crash with QtCurve

2017-01-03 Thread RJVB
https://bugs.kde.org/show_bug.cgi?id=374046 RJVB changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RE

[QtCurve] [Bug 374046] GCC address sanitizer-enabled apps crash with QtCurve

2017-01-03 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=374046 --- Comment #3 from Eugene Shalygin --- https://git.reviewboard.kde.org/r/129762/ -- You are receiving this mail because: You are watching all bug changes.

[QtCurve] [Bug 374046] GCC address sanitizer-enabled apps crash with QtCurve

2017-01-03 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=374046 --- Comment #2 from Eugene Shalygin --- Obviously, all memcmp() calls in config_file.cpp have to be replaced with, e.g., strncmp -- You are receiving this mail because: You are watching all bug changes.

[QtCurve] [Bug 374046] GCC address sanitizer-enabled apps crash with QtCurve

2017-01-03 Thread Eugene Shalygin
https://bugs.kde.org/show_bug.cgi?id=374046 --- Comment #1 from Eugene Shalygin --- Recompiled QtCurve with address sanitizer: ==25441==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6033329d at pc 0x7ff558f6219f bp 0x7ffd2db1b1f0 sp 0x7ffd2db1a9a0 READ of size 9 at 0x603332