Project

Profile

Help

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...":https://support.plan.io/news/187

Bug #859139

closed

Qt: Temporary QByteArrays often used after their lifetime has ended

Added by Marko Lindqvist about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
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"


Files


Related issues

Related to Freeciv - Bug #858212: Qt heap-use-after-free entering Pick Nation screen (2.6.1+)ClosedMarko Lindqvist

Actions
Related to Freeciv - Task #851229: S3_0 alpha4ClosedMarko Lindqvist2020-04-25

Actions
Actions #1

Updated by Jacob Nevins about 3 years ago

  • Related to Bug #858212: Qt heap-use-after-free entering Pick Nation screen (2.6.1+) added
Actions #2

Updated by Marko Lindqvist almost 3 years ago

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.

Actions #5

Updated by Marko Lindqvist almost 3 years ago

Actions #6

Updated by Marko Lindqvist almost 3 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist
Actions #7

Updated by Marko Lindqvist over 2 years ago

  • Sprint/Milestone changed from 2.6.3 to 2.6.2.1

Also available in: Atom PDF