2018-05-24 14:56 EDT


fs2open: trunk r11230 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent Ported
MageKing17 trunk 2015-01-23 17:37:12 Pending
Changeset Fix a potential crash during ships.tbl parsing.

Makes parse_ship() use ship_info_lookup_sub() instead of ship_info_lookup() (shouldn't be jumping through those hoops during table parsing if they're for FS1 mission conversion), and more importantly, added an error check to ship_info_lookup() to avoid sprintf() exceeding the length of the char array.
mod - /trunk/fs2_open/code/ship/ship.cpp Diff ] File ]