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...

Bug #827171

Valgrind finding - qt client strlen on uninitialized char[]

Added by Zoltán Žarkov about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

While looking for other stuff, came across this:

121580 Conditional jump or move depends on uninitialised value(s)
121580 at 0x4C31D79: strlen (vg_replace_strmem.c:458)
121580 by 0x2564BD: QString (qstring.h:694)
121580 by 0x2564BD: city_dialog::update_info_label() (citydlg.cpp:3039)
121580 by 0x267F4B: city_dialog::refresh() (citydlg.cpp:2843)
121580 by 0x26804F: city_dialog::setup_ui(city*) (citydlg.cpp:3056)
121580 by 0x2680EC: qtg_real_city_dialog_popup(city*) (citydlg.cpp:3598)
121580 by 0x1C792A: real_city_dialog_popup (gui_interface.c:526)
121580 by 0x24799C: cities_update_callback (update_queue.c:606)
121580 by 0x2472EE: update_unqueue (update_queue.c:319)
121580 by 0x2BF825: mr_idle::idling() (mapview.cpp:175)
121580 by 0x824CE4E: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.1)
121580 by 0x8259AC6: QTimer::timeout(QTimer::QPrivateSignal) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.1)
121580 by 0x8259E27: QTimer::timerEvent(QTimerEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.11.1)

Related issues

Related to Freeciv - Feature #657146: Improve handling of "already-stolen-from-this-city" -caseClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Zoltán Žarkov about 3 years ago

  • Related to Feature #657146: Improve handling of "already-stolen-from-this-city" -case added

#2 Updated by Zoltán Žarkov about 3 years ago

QString(buf27) is specifically what is wrong, nothing initializes buf27.

#4 Updated by Marko Lindqvist about 3 years ago

  • Status changed from New to Resolved
  • Assignee set to Marko Lindqvist
  • Sprint/Milestone set to 3.1.0

#5 Updated by Marko Lindqvist about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF