/pidgin/main: 792ff0633917: configure.ac: Allocate 64 bytes for ...
Unknown Name <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: 792ff0633917ebd23764e23f6610e2cc3a84278a Author: Unknown Name <[email protected]> Date: 2016-02-08 18:25 +0000 Branch: fracting/configureac-allocate-64-bytes-for-strfti-1454955939684 URL: https://hg.pidgin.im/pidgin/main/rev/792ff0633917 Description: 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