michal-grzedzicki / rpms / rpm

Forked from rpms/rpm 5 months ago
Clone

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

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