/pidgin/main: b5da83e73b89: Merged in fracting/main/fracting/con...

Gary Kramlich grim at reaperworld.com
Tue Feb 9 00:24:00 EST 2016


Changeset: b5da83e73b8947bbf4a82fc0016c0e746a78b69d
Author:	 Gary Kramlich <grim at reaperworld.com>
Date:	 2016-02-08 23:23 -0600
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/b5da83e73b89

Description:

Merged in fracting/main/fracting/configureac-allocate-64-bytes-for-strfti-1454955939684 (pull request #17)

configure.ac: Allocate 64 bytes for strftime buffer in order to avoid potential crashing on Windows.

diffstat:

 configure.ac |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -387,7 +387,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
 
 int main()
 {
-	char buf[6];
+	char buf[64];
 	time_t t = time(NULL);
 
 	if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5)



More information about the Commits mailing list