Activity log for bug #911062

Date Who What changed Old value New value Message
2012-01-03 01:23:32 Neil Tan bug added bug
2012-01-06 20:41:15 Neil Tan description A segfault occurs in file "unit.cpp" function "HitUnit" when the variable argument "attacker" is NULL. This happens when called from file "actions.cpp" function "HandleRegenerations". The call made by "HandleRegenerations" is "HitUnit(NoUnitP, unit, unit.Type->BurnDamageRate" where NoUnitP is NULL. This doesn't occur in stratagus 2.2.5.5. A segfault occurs when a building is "attacked" by fire in file "unit.cpp" function "HitUnit" when the variable argument "attacker" is NULL. This happens when called from file "actions.cpp" function "HandleRegenerations". The call made by "HandleRegenerations" is "HitUnit(NoUnitP, unit, unit.Type->BurnDamageRate" where NoUnitP is NULL. A patch is included. This doesn't occur in stratagus 2.2.5.5. Can a burning building call for help with AiHelpMe???
2012-01-06 20:42:16 Neil Tan attachment added patch https://bugs.launchpad.net/stratagus/+bug/911062/+attachment/2660493/+files/unit.cpp.patch
2012-01-07 15:49:45 Pali tags patch
2012-01-07 15:54:30 Pali stratagus: status New Fix Committed
2012-01-07 15:54:33 Pali stratagus: assignee Pali (pali)
2012-01-07 15:55:26 Launchpad Janitor branch linked lp:stratagus
2012-04-19 13:39:39 Pali stratagus: milestone 2.2.7
2012-08-20 14:28:08 Pali stratagus: status Fix Committed Fix Released