gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libextractor] 13/27: seems some specs of c_time allow up t


From: gnunet
Subject: [GNUnet-SVN] [libextractor] 13/27: seems some specs of c_time allow up to 71 bytes, so increase buffer size just to be safe
Date: Sun, 15 Oct 2017 21:34:37 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libextractor.

commit 784e6fff3af1c35e597c6dc3c8f6127e42bdf322
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Oct 15 20:25:45 2017 +0200

    seems some specs of c_time allow up to 71 bytes, so increase buffer size 
just to be safe
---
 src/plugins/rpm_extractor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/rpm_extractor.c b/src/plugins/rpm_extractor.c
index e1f2d621..ede82d52 100644
--- a/src/plugins/rpm_extractor.c
+++ b/src/plugins/rpm_extractor.c
@@ -348,7 +348,7 @@ EXTRACTOR_rpm_extract_method (struct 
EXTRACTOR_ExtractContext *ec)
            {
              if (p->tag == RPMTAG_BUILDTIME)
                {
-                 char tmp[30];
+                 char tmp[80];
                  uint32_t *v = rpmtdNextUint32 (p);
                  time_t tp = (time_t) *v;
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]