Adding temporary solution to estimate packet size. Should be changed to
something more lightweight
diff --git a/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc b/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc
index 0928eb8..4467891 100644
--- a/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc
+++ b/helper/ccnb-parser/syntax-tree/ccnb-parser-blob.cc
@@ -25,6 +25,7 @@
 
 Blob::Blob (Buffer::Iterator &start, uint32_t length)
 {
+  m_blob = Buffer (length);
   start.Read (m_blob.Begin (), length);
 }
 
diff --git a/model/ccnx-content-object-header.cc b/model/ccnx-content-object-header.cc
index ff849bc..581c6c4 100644
--- a/model/ccnx-content-object-header.cc
+++ b/model/ccnx-content-object-header.cc
@@ -64,7 +64,8 @@
 CcnxContentObjectHeader::GetSerializedSize (void) const
 {
   // Unfortunately, two serializations are required, unless we can pre-calculate header length... which is not trivial
-  Buffer tmp;
+  /// \todo This is totally wrong. Need to do some simple packet buffer estimation
+  Buffer tmp(2048);
   
   return CcnxEncodingHelper::Serialize (tmp.Begin(), *this);
 }
diff --git a/model/ccnx-interest-header.cc b/model/ccnx-interest-header.cc
index ea70a93..ee9f63b 100644
--- a/model/ccnx-interest-header.cc
+++ b/model/ccnx-interest-header.cc
@@ -171,7 +171,8 @@
 CcnxInterestHeader::GetSerializedSize (void) const
 {
   // unfortunately, 2 serialization required...
-  Buffer tmp;
+  /// \todo This is totally wrong. Need to do some simple packet buffer estimation
+  Buffer tmp(2048);
   
   return CcnxEncodingHelper::Serialize (tmp.Begin(), *this);
 }