Fix CID 1288932
authorAki Tuomi <cmouse@desteem.org>
Mon, 23 Mar 2015 07:00:11 +0000 (09:00 +0200)
committerAki Tuomi <cmouse@desteem.org>
Thu, 26 Mar 2015 13:24:38 +0000 (15:24 +0200)
pdns/dnsrecords.cc

index e2a164f27f9776ec9fd45fe14cef5eaf2ce094dd..2cc0f5a898fb30721ef4a3dab24c028a3d38e6c9 100644 (file)
@@ -435,7 +435,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()
 {