[shibboleth-sp2] 106/119: Patched ctime_r branch.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit 5b8983b86d1b651001b6c88f21798dc4ccb60f82
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Tue Nov 13 03:37:14 2007 +0000
Patched ctime_r branch.
---
shib-target/shib-mlp.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shib-target/shib-mlp.cpp b/shib-target/shib-mlp.cpp
index e34d22d..59f4606 100644
--- a/shib-target/shib-mlp.cpp
+++ b/shib-target/shib-mlp.cpp
@@ -79,7 +79,7 @@ const char* ShibMLP::run(const string& is, const IPropertySet* props, std::strin
time_t now = time(NULL);
#ifdef HAVE_CTIME_R
char timebuf[32];
- insert("now", ctime_r(&now,timebuf));
+ insert("now", ctime_r(&now,timebuf,sizeof(timebuf)));
#else
insert("now", ctime(&now));
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list