aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-10 21:44:37 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-10 21:51:04 (GMT)
commit7b8fd2d81ad80a73564fc9fbb779f47568f12652 (patch)
tree7eb7ed8dfe7de48ac9d7bf598ef8f953ecf95277 /util
parentd8c11d0852d889f4df23c9398463aa3848e0e7c7 (diff)
downloadfluxbox-7b8fd2d81ad80a73564fc9fbb779f47568f12652.zip
fluxbox-7b8fd2d81ad80a73564fc9fbb779f47568f12652.tar.bz2
Fix bug: integer underflow in startup phase
When fluxbox comes up some of it's drawables span a 1x1 area. Subtracting from such small numbers bigger ones always lead to massive problems when 'unsigned int' are involved: 'button_width' is an unsigned int of '1' (this might be caused by another issue or on purpose, anyway), subtracting -10 or any other number should result in something < 0 when in reality an integer underflow happen: max_width is now MAX_INT-something big. This makes fluxbox crash under certain circumstances. This fixes bug #1116.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions