]>
Commit | Line | Data |
---|---|---|
b56472d4 MT |
1 | From 83d2ed09fc0216b567d7fb2197e4ff3eae150b0d Mon Sep 17 00:00:00 2001 |
2 | From: Simon Kelley <simon@thekelleys.org.uk> | |
3 | Date: Tue, 23 Dec 2014 18:42:38 +0000 | |
4 | Subject: [PATCH] Initialise return value. | |
5 | ||
6 | --- | |
7 | src/dnssec.c | 7 +++++-- | |
8 | 1 file changed, 5 insertions(+), 2 deletions(-) | |
9 | ||
10 | diff --git a/src/dnssec.c b/src/dnssec.c | |
11 | index 9350d3e..ed8cf89 100644 | |
12 | --- a/src/dnssec.c | |
13 | +++ b/src/dnssec.c | |
14 | @@ -637,10 +637,13 @@ static int validate_rrset(time_t now, struct dns_header *header, size_t plen, in | |
15 | struct crec *crecp = NULL; | |
16 | int type_covered, algo, labels, orig_ttl, sig_expiration, sig_inception, key_tag; | |
17 | u16 *rr_desc = get_desc(type); | |
18 | - | |
19 | + | |
20 | + if (wildcard_out) | |
21 | + *wildcard_out = NULL; | |
22 | + | |
23 | if (!(p = skip_questions(header, plen))) | |
24 | return STAT_BOGUS; | |
25 | - | |
26 | + | |
27 | name_labels = count_labels(name); /* For 4035 5.3.2 check */ | |
28 | ||
29 | /* look for RRSIGs for this RRset and get pointers to each RR in the set. */ | |
30 | -- | |
31 | 1.7.10.4 | |
32 |