View Issue Details

IDProjectCategoryView StatusLast Update
0004252The Dark ModDesign/Codingpublic02.12.2015 09:54
ReporterObsttorte Assigned ToObsttorte  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004252: Game crashes if script event saveGame(string name) is used.
DescriptionIn 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 InformationIn the first place the function used an idStr variable as argument. Replacing it to a const char* resolved the issue.
TagsNo tags attached.

Activities

Obsttorte

Obsttorte

02.12.2015 09:53

developer   ~0007896

Fixed at revision 6556.

Issue History

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