From: Wouter Wijngaards Date: Thu, 16 Sep 2010 13:57:22 +0000 (+0000) Subject: - Fix reported validation error in out of memory condition. X-Git-Tag: release-1.4.7rc1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aac3c03f72b69ae2383c4a340f6fc5ec3881749f;p=thirdparty%2Funbound.git - Fix reported validation error in out of memory condition. git-svn-id: file:///svn/unbound/trunk@2237 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 92690aabf..1b2ea8da4 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - Algorithm rollover operational reality intrudes, for trust-anchor, 5011-store, and DLV-anchor if one key matches it's good enough. - iana portlist updated. + - Fix reported validation error in out of memory condition. 15 September 2010: Wouter - Abide RFC5155 section 9.2: no AD flag for replies with NSEC3 optout. diff --git a/validator/val_sigcrypt.c b/validator/val_sigcrypt.c index 1fe63c115..dd3a694b6 100644 --- a/validator/val_sigcrypt.c +++ b/validator/val_sigcrypt.c @@ -589,7 +589,7 @@ void algo_needs_reason(struct module_env* env, int alg, char** reason, char* s) (unsigned)alg); *reason = regional_strdup(env->scratch, buf); if(!*reason) - *reason = "%s with all algorithms"; + *reason = s; } enum sec_status