Division by zero in ui_basic/slider.cc

Bug #1095022 reported by Hans Joachim Desserud on 2013-01-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Undecided
Hans Joachim Desserud

Bug Description

Clang's static analyzer (scan-build) found this one in r6469. See attachment for details.

Tags: ui Edit Tag help

Related branches

Hans Joachim Desserud (hjd) wrote :
SirVer (sirver) wrote :

An assert(labels.size()) will fix this.

Changed in widelands:
status: New → Triaged
Hans Joachim Desserud (hjd) wrote :

Still present in r6594, fwiw.

Changed in widelands:
assignee: nobody → Hans Joachim Desserud (hjd)
status: Triaged → In Progress
milestone: none → build18-rc1
Nasenbaer (nasenbaer) on 2013-07-14
Changed in widelands:
status: In Progress → Fix Committed
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