michal-grzedzicki / rpms / rpm

Forked from rpms/rpm 4 months ago
Clone

Blame SOURCES/rpm-4.13.x-Make-the-stftime-buffer-big-enuff.patch

648606
--- current/lib/formats.orig	2017-10-09 16:02:37.884785158 +0200
648606
+++ current/lib/formats.c	2017-10-09 16:03:20.640862788 +0200
648606
@@ -101,7 +101,7 @@
648606
 	val = xstrdup(_("(not a number)"));
648606
     } else {
648606
 	struct tm * tstruct;
648606
-	char buf[50];
648606
+	char buf[1024];
648606
 	time_t dateint = rpmtdGetNumber(td);
648606
 	tstruct = localtime(&dateint);
648606