View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004252 | The Dark Mod | Design/Coding | public | 02.12.2015 09:51 | 02.12.2015 09:54 |
Reporter | Obsttorte | Assigned To | Obsttorte | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.03 | ||||
Target Version | TDM 2.04 | Fixed in Version | TDM 2.04 | ||
Summary | 0004252: Game crashes if script event saveGame(string name) is used. | ||||
Description | In game: See summary. code-wise: Basically a dangling pointer. The variables memory address corresponding to the scripts name argument gets passed through the routine but the original variable is local and stops existing, so that later on the pointers are pointing to an address not corresponding to the intentional value anymore causing an access violation error. | ||||
Additional Information | In the first place the function used an idStr variable as argument. Replacing it to a const char* resolved the issue. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
02.12.2015 09:51 | Obsttorte | New Issue | |
02.12.2015 09:51 | Obsttorte | Status | new => assigned |
02.12.2015 09:51 | Obsttorte | Assigned To | => Obsttorte |
02.12.2015 09:53 | Obsttorte | Note Added: 0007896 | |
02.12.2015 09:53 | Obsttorte | Resolution | open => fixed |
02.12.2015 09:53 | Obsttorte | Fixed in Version | => TDM 2.04 |
02.12.2015 09:54 | Obsttorte | Status | assigned => resolved |