Uninitialized 'counter' variable used if file isn't properly opened.
Opened this issue · 2 comments
Deleted user commented
In function void CreateCharacter::UpdateCustomCounter(int incrementValue)
, uninitialized 'counter' variable is in use.
If file.is_open()
returns false
, counter
will be uninitialized, which is used in sprintf
function.
utilForever commented
Thanks. I'll check it.
utilForever commented
Fixed in 0629c0f.