Age | Commit message (Collapse) | Author |
|
|
|
abe1c65d626a8f3 changed _trackName from a char * to a Common::String,
but still tried to access the null terminator byte.
|
|
|
|
|
|
|
|
Thanks to wjp for the suggestion
|
|
|
|
|
|
|
|
|
|
This matches the original and fixes the footstep sounds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
strncpy does not assure that the result is 0 terminated. strlcpy does, which
makes this safer.
I only replaced strncpy usages where the memory was not allocated to the
correct size right before the strncpy usage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|