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...
Division by zero when transforming unit that had zero move rate
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)
#1 Updated by Marko Lindqvist about 2 years 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