libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 784e6fff3af1c35e597c6dc3c8f6127e42bdf322
parent b2610cbbdff71e83f9163064efcacb0eae614d24
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 15 Oct 2017 20:25:45 +0200

seems some specs of c_time allow up to 71 bytes, so increase buffer size just to be safe

Diffstat:
Msrc/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 @@ -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;