HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #868905
Division by zero when transforming unit that had zero move rate
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Reported by soundfury in irc:
<soundnfury> in transform_unit() if old_mr is zero a SIGFPE can occur
<soundnfury> (it's not a blocker for me, because the thing I wanted to do in my ruleset that tickled it doesn't actually work anyway, but I thought I should mention it to someone)
<soundnfury> probably the thing to do is "punit->moves_left = old_mr ? current_calculation() : unit_move_rate(punit)"
<soundnfury> (i.e. define 0/0 as 1)
History
#1
Updated by Marko Lindqvist 10 months ago
- File 0001-Fix-division-by-zero-when-transforming-unit-with-zer.patch 0001-Fix-division-by-zero-when-transforming-unit-with-zer.patch added
- Status changed from New to Resolved
#2
Updated by Marko Lindqvist 10 months ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist
#3
Updated by Marko Lindqvist 2 months ago
- Sprint/Milestone changed from 2.6.3 to 2.6.2.1