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

Gary Kramlich <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: b5da83e73b8947bbf4a82fc0016c0e746a78b69d
Author:	 Gary Kramlich <[email protected]>
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)

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.