Source Code Project Mantis - FSSCP
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002173||FSSCP||Platform-Engine interaction||public||2010-03-31 18:35||2010-04-18 23:50|
|Assigned To||iss_mneur|| |
|Product Version||3.6.12 RC1|| |
|Target Version||Fixed in Version||3.6.12|| |
|Summary||0002173: FSO Fails with an assert if a commandline flag does not have an arg|
|Description||Since Taylor's revamping of the cmdline system to use dynamic buffers, if a command line flag is passed (either by proper command line or via cmdline_fso.cfg) that requires an argument int, float, or string, FSO fails with a very useless assertion message.|
The attached patch makes the Error more useful and tells the user what they need to do to fix this, as well as it checks in release.
Because the Assertion is not in effect in release FSO could potentially try to dereference a NULL pointer as well.
|Tags||No tags attached.|
|Attached Files|| pretty_missing_arg_errors.patch (1,682) 2010-03-31 18:35|