[gemrb] 02/06: DEBIAN: Log full config path instead of the 16-char buffer that overflows.

Beren Minor berenm-guest at moszumanska.debian.org
Tue Nov 28 18:25:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

berenm-guest pushed a commit to branch patch-queue/master
in repository gemrb.

commit 0a9d78d2600871370faf2b97851db9bba1562a6e
Author: Beren Minor <beren.minor+git at gmail.com>
Date:   Fri Aug 15 00:07:04 2014 +0200

    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 51e029c..5db7689 100644
--- a/gemrb/core/InterfaceConfig.cpp
+++ b/gemrb/core/InterfaceConfig.cpp
@@ -190,9 +190,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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/gemrb.git



More information about the Pkg-games-commits mailing list