1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Beren Minor <beren.minor+git@gmail.com>
Date: Fri, 15 Aug 2014 00:07:04 +0200
Subject: DEBIAN: Log full config path instead of the 16-char buffer that
overflows.
---
gemrb/core/InterfaceConfig.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gemrb/core/InterfaceConfig.cpp b/gemrb/core/InterfaceConfig.cpp
index 8c596d1..bb24408 100644
--- a/gemrb/core/InterfaceConfig.cpp
+++ b/gemrb/core/InterfaceConfig.cpp
@@ -183,9 +183,9 @@ bool CFGConfig::InitWithINIData(DataStream* const cfgStream)
}
if (isValid) {
- Log(WARNING, "Config", "attempting to replace config values with contents of %s", cfgStream->filename);
+ Log(WARNING, "Config", "attempting to replace config values with contents of %s", cfgStream->originalfile);
} else {
- Log(MESSAGE, "Config", "attempting to initialize config with %s", cfgStream->filename);
+ Log(MESSAGE, "Config", "attempting to initialize config with %s", cfgStream->originalfile);
}
isValid = false;
|