View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002579 | FSSCP | FRED | public | 2012-01-23 02:39 | 2012-01-23 23:16 |
| Reporter | chief1983 | Assigned To | Goober5000 | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | x86-64 | OS | Windows 7 | OS Version | Professional |
| Product Version | 3.6.13 | ||||
| Target Version | 3.6.14 | Fixed in Version | 3.6.14 | ||
| Summary | 0002579: Assert(strlen(shipp->ship_name) <= NAME_LENGTH - 1); (another separate issue) | ||||
| Description | Ok, so not only was the assert coded badly, the name here isn't the class name causing it, but the auto-generate ship name when adding a new ship to a mission. It adds a space plus the object number to the end of the class name without making sure that doesn't go over 31. | ||||
| Steps To Reproduce | Use debug. Have 31 character ship name and add it to the mission. Still asserts even with my previous fix. | ||||
| Additional Information | See ship::ship_create() just before it calls ship_set() where it generates the name. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-01-23 02:39 | chief1983 | New Issue | |
| 2012-01-23 02:39 | chief1983 | Status | new => assigned |
| 2012-01-23 02:39 | chief1983 | Assigned To | => Goober5000 |
| 2012-01-23 02:49 | Goober5000 | Note Added: 0013115 | |
| 2012-01-23 02:49 | Goober5000 | Status | assigned => resolved |
| 2012-01-23 02:49 | Goober5000 | Fixed in Version | => 3.6.14 |
| 2012-01-23 23:16 | chief1983 | Changeset attached | => fs2open fs2_open_3_6_14 r8359 |
| 2012-01-23 23:16 | chief1983 | Note Added: 0013137 | |
| 2012-01-23 23:16 | chief1983 | Resolution | open => fixed |