Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Nightly Builds => Topic started by: SirKnightly on January 26, 2015, 04:14:38 am

Title: Nightly (FreeBSD): 26 Jan 2015 - Revision 11232
Post by: SirKnightly on January 26, 2015, 04:14:38 am
Here is the nightly for FreeBSD on 26 Jan 2015 - Revision 11232

Open non-feature issues in Mantis (http://scp.indiegames.us/mantis/view_all_set.php?type=3&source_query_id=611): 124

Group: Standard
fso_Standard_20150126_r11232.tar.bz2 (http://swc.fs2downloads.com/builds/FREEBSD/fso_Standard_20150126_r11232.tar.bz2)
MD5Sum (http://swc.fs2downloads.com/builds/FREEBSD/fso_Standard_20150126_r11232.md5)

Code: [Select]
------------------------------------------------------------------------
r11230 | MageKing17 | 2015-01-23 16:37:12 -0600 (Fri, 23 Jan 2015) | 3 lines
Changed paths:
   M /trunk/fs2_open/code/ship/ship.cpp

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.
------------------------------------------------------------------------