]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Initialise return value.
authorSimon Kelley <simon@thekelleys.org.uk>
Tue, 23 Dec 2014 18:42:38 +0000 (18:42 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 23 Dec 2014 18:42:38 +0000 (18:42 +0000)
src/dnssec.c

index 9350d3e8c963d72163d77977dac73db7d8a727b8..ed8cf893bad24ed763d41762d44acb6c055befbf 100644 (file)
@@ -637,10 +637,13 @@ static int validate_rrset(time_t now, struct dns_header *header, size_t plen, in
   struct crec *crecp = NULL;
   int type_covered, algo, labels, orig_ttl, sig_expiration, sig_inception, key_tag;
   u16 *rr_desc = get_desc(type);
-
+  if (wildcard_out)
+    *wildcard_out = NULL;
+  
   if (!(p = skip_questions(header, plen)))
     return STAT_BOGUS;
-
+  
   name_labels = count_labels(name); /* For 4035 5.3.2 check */
 
   /* look for RRSIGs for this RRset and get pointers to each RR in the set. */