Use-after-free in wui/building_ui.cc

Bug #1198930 reported by Hans Joachim Desserud on 2013-07-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
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.

Hans Joachim Desserud (hjd) wrote :
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
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  Edit
Everyone can see this information.

Other bug subscribers