abort occurs when processing unknown unit type in map file in stratagus 2.2.6

Bug #913621 reported by Neil Tan on 2012-01-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
Joris Dauphin

Bug Description

In stargus map (2) River Crossing there is a unit type called "Bengalaas-(Jungle-Critter)". An abort and core dump occurs when trying to create this type of unit. No DefineUnitType exists for this type in any lua file. The attached patch file prevents an abort when any unknown unit type is processed.

Related branches

Neil Tan (emtneutrino) wrote :
Joris Dauphin (joris-dauphin) wrote :

revision 8210 avoid the abort/core dump with a lua_error.

Changed in stratagus:
status: New → Fix Committed
Pali (pali) on 2012-04-19
Changed in stratagus:
assignee: nobody → Joris Dauphin (joris-dauphin)
milestone: none → 2.2.7
Pali (pali) on 2012-08-20
Changed in stratagus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers