aboutsummaryrefslogtreecommitdiff
path: root/dep/StormLib/src/FileStream.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-01-31 22:11:49 +0100
committerjackpoz <giacomopoz@gmail.com>2014-01-31 22:11:49 +0100
commitb054275fb277d34f98746a1ebcfec1d39d3ce13a (patch)
tree998d340752e8e634815a04f857a21ea1be4dc9d6 /dep/StormLib/src/FileStream.cpp
parent68d48ecbd1654fc2f1311e966c41654d265f368b (diff)
Shared/Logs: Fix crash in Console log output
Correctly handle the return value of vsnprintf() which returns -1 if the buffer is too small http://msdn.microsoft.com/en-us/library/1kt27hek.aspx . In this case just truncate the output. This caused a crash on character delete if Logger.entities.player.dump was enabled and set to 3. Fixes #11539
Diffstat (limited to 'dep/StormLib/src/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions