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

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