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...
Bug #859139
Qt: Temporary QByteArrays often used after their lifetime has ended
Start date:
Due date:
% Done:
0%
Estimated time:
Description
In Bug #858212 I wrote:
"...the problem is in the lifetime of the temporary QByteArray when using construct like 'char *buf = str.toLocal8Bit().data()', the bad news is that Qt-client and ruledit code has lots of such usage.
grep -r "data()" client/qui-qt tools/ruledit"
Related issues
History
#1
Updated by Jacob Nevins about 1 year ago
- Related to Bug #858212: Qt heap-use-after-free entering Pick Nation screen (2.6.1+) added
#2
Updated by Marko Lindqvist about 1 year ago
- File 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch added
- Status changed from New to Resolved
Master patch attached. Will push this before it suffers from bitrot, even though ports to older branches are not ready to be pushed at the same time.
#3
Updated by Marko Lindqvist about 1 year ago
- File 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch added
S3_0 version attached.
#4
Updated by Marko Lindqvist about 1 year ago
- File 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch 0002-Qt-Extend-lifetime-of-QByteArrays-when-their-data-is.patch added
S2_6 version attached
#5
Updated by Marko Lindqvist about 1 year ago
- Related to Task #851229: S3_0 alpha4 added
#6
Updated by Marko Lindqvist about 1 year ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist
#7
Updated by Marko Lindqvist 5 months ago
- Sprint/Milestone changed from 2.6.3 to 2.6.2.1