From b5c1973b3c27618f741b8386c0fdd79382bc3977 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 23 Apr 2013 19:13:30 +0200 Subject: bugfix: block size limit was not properly honored --- ChangeLog | 1 + runtime/librsgt.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8e4eebe7..c823dc33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ --------------------------------------------------------------------------- Version 7.3.12 [devel] 2013-04-?? +- bugfix: block size limit was not properly honored - bugfix: potential segfault in guardtime signature provider it could segfault if an error was reported by the GuardTime API, because an invalid free could happen then diff --git a/runtime/librsgt.c b/runtime/librsgt.c index 2127e306..ae0b0df6 100644 --- a/runtime/librsgt.c +++ b/runtime/librsgt.c @@ -148,6 +148,7 @@ rsgtfileConstruct(gtctx ctx) goto done; gf->ctx = ctx; gf->hashAlg = ctx->hashAlg; + gf->blockSizeLimit = ctx->blockSizeLimit; gf->bKeepRecordHashes = ctx->bKeepRecordHashes; gf->bKeepTreeHashes = ctx->bKeepTreeHashes; gf->x_prev = NULL; -- cgit v1.2.3