Division by zero in ui_basic/slider.cc
Bug #1095022 reported by
Hans Joachim Desserud
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.
Related branches
lp://staging/~hjd/widelands/bug1095022
- Nasenbaer: Approve
-
Diff: 11 lines (+1/-0)1 file modifiedsrc/ui_basic/slider.cc (+1/-0)
Changed in widelands: | |
assignee: | nobody → Hans Joachim Desserud (hjd) |
status: | Triaged → In Progress |
milestone: | none → build18-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
An assert( labels. size()) will fix this.