Division by zero in ui_basic/slider.cc

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

Bug Description

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

Tags: ui

Related branches

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

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

Changed in widelands:
status: New → Triaged
Revision history for this message
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)
Changed in widelands:
status: In Progress → Fix Committed
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.