Use-after-free in wui/building_ui.cc

Bug #1198930 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

Found by scan-build (llvm 3.3) in r6594.

Use-after-free looks like a new category reported, so I've filed this as a sample in order for others to assess whether this is a real issue or not.

Tags: memory
Revision history for this message
Hans Joachim Desserud (hjd) wrote :
Revision history for this message
SirVer (sirver) wrote :

This is a true bug - and I am very impressed that this was found by the static analyzer :). I fixed it in r6598.

Changed in widelands:
status: New → Fix Committed
Changed in widelands:
milestone: none → build18-rc1
Revision history for this message
SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.