Module: check_mk
Branch: master
Commit: 8661d935a54becaf35cc61a3644646f15f8e41a7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8661d935a54bec…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Mon Nov 2 16:31:52 2015 +0100
windows agent: fixed two more cases of variables being used as printf format
---
agents/windows/Configuration.cc | 4 ++--
agents/windows/build_version | 2 +-
agents/windows/check_mk_agent-64.exe | Bin 831488 -> 831488 bytes
agents/windows/check_mk_agent-64.unversioned.exe | Bin 831488 -> 831488 bytes
agents/windows/check_mk_agent.exe | Bin 750592 -> 750592 bytes
agents/windows/check_mk_agent.msi | Bin 1840128 -> 1840128 bytes
agents/windows/check_mk_agent.unversioned.exe | Bin 750592 -> 750592 bytes
agents/windows/install_agent-64.exe | Bin 383962 -> 383970 bytes
agents/windows/install_agent.exe | Bin 375181 -> 375168 bytes
9 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/agents/windows/Configuration.cc b/agents/windows/Configuration.cc
index 818dea8..02f4aed 100644
--- a/agents/windows/Configuration.cc
+++ b/agents/windows/Configuration.cc
@@ -892,10 +892,10 @@ bool Configuration::handleScriptConfigVariable(char *var, char
*value, script_ty
memset(tmp, 0, sizeof(*tmp));
if (user)
- snprintf(tmp->user, sizeof(tmp->user), user);
+ snprintf(tmp->user, sizeof(tmp->user), "%s", user);
tmp->type = type;
- snprintf(tmp->path, sizeof(tmp->path), value);
+ snprintf(tmp->path, sizeof(tmp->path), "%s", value);
_script_includes.add(tmp);
return true;
}
diff --git a/agents/windows/build_version b/agents/windows/build_version
index ff39c77..d27f552 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-622
+624
diff --git a/agents/windows/check_mk_agent-64.exe b/agents/windows/check_mk_agent-64.exe
index 84b4ab2..2127098 100755
Binary files a/agents/windows/check_mk_agent-64.exe and
b/agents/windows/check_mk_agent-64.exe differ
diff --git a/agents/windows/check_mk_agent-64.unversioned.exe
b/agents/windows/check_mk_agent-64.unversioned.exe
index 757f3d3..c632fcb 100755
Binary files a/agents/windows/check_mk_agent-64.unversioned.exe and
b/agents/windows/check_mk_agent-64.unversioned.exe differ
diff --git a/agents/windows/check_mk_agent.exe b/agents/windows/check_mk_agent.exe
index 247a8db..8a04fce 100755
Binary files a/agents/windows/check_mk_agent.exe and b/agents/windows/check_mk_agent.exe
differ
diff --git a/agents/windows/check_mk_agent.msi b/agents/windows/check_mk_agent.msi
index 861e75f..4535103 100755
Binary files a/agents/windows/check_mk_agent.msi and b/agents/windows/check_mk_agent.msi
differ
diff --git a/agents/windows/check_mk_agent.unversioned.exe
b/agents/windows/check_mk_agent.unversioned.exe
index dab3ac6..c2ae79c 100755
Binary files a/agents/windows/check_mk_agent.unversioned.exe and
b/agents/windows/check_mk_agent.unversioned.exe differ
diff --git a/agents/windows/install_agent-64.exe b/agents/windows/install_agent-64.exe
index 75cc9d7..c88dc76 100755
Binary files a/agents/windows/install_agent-64.exe and
b/agents/windows/install_agent-64.exe differ
diff --git a/agents/windows/install_agent.exe b/agents/windows/install_agent.exe
index 40fd66d..bf1b664 100755
Binary files a/agents/windows/install_agent.exe and b/agents/windows/install_agent.exe
differ