]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix CID 1288932 2369/head
authorAki Tuomi <cmouse@desteem.org>
Mon, 23 Mar 2015 07:00:11 +0000 (09:00 +0200)
committerAki Tuomi <cmouse@desteem.org>
Mon, 23 Mar 2015 07:00:11 +0000 (09:00 +0200)
pdns/dnsrecords.cc

index ae9833ca6caa614ed88fdd466edcccc42fc0617a..402ded409589655066c751c7f570ff0bbb4dbff9 100644 (file)
@@ -424,7 +424,7 @@ boilerplate_conv(TKEY, QType::TKEY,
                  conv.xfr16BitInt(d_othersize);
                  if (d_othersize>0) conv.xfrBlobNoSpaces(d_other, d_othersize);
                  )
-TKEYRecordContent::TKEYRecordContent() : DNSRecordContent(QType::TKEY) {}
+TKEYRecordContent::TKEYRecordContent() : DNSRecordContent(QType::TKEY) { d_othersize = 0; } // fix CID#1288932
 
 uint16_t DNSKEYRecordContent::getTag()
 {