fs2open: trunk r11230
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
MageKing17 | trunk | 2015-01-23 17:37 | 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 |