diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-04-23 19:13:30 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-04-23 19:13:30 +0200 |
commit | b5c1973b3c27618f741b8386c0fdd79382bc3977 (patch) | |
tree | bbc47744d157bbcd2f90dfea59c010ad1fda072f | |
parent | 55093592b4f5dd3dd9d96b986c55e4974a7af1c6 (diff) | |
download | rsyslog-b5c1973b3c27618f741b8386c0fdd79382bc3977.tar.gz rsyslog-b5c1973b3c27618f741b8386c0fdd79382bc3977.tar.bz2 rsyslog-b5c1973b3c27618f741b8386c0fdd79382bc3977.zip |
bugfix: block size limit was not properly honored
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | runtime/librsgt.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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; |