Fix bug: need to use resize, not reserve.
diff --git a/ndn-cpp/util/dynamic-uchar-vector.cpp b/ndn-cpp/util/dynamic-uchar-vector.cpp
index d346494..b7957c5 100644
--- a/ndn-cpp/util/dynamic-uchar-vector.cpp
+++ b/ndn-cpp/util/dynamic-uchar-vector.cpp
@@ -24,7 +24,7 @@
     // We don't expect this to ever happen. The caller didn't pass the array from this object.
     return 0;
   
-  thisObject->vector_->reserve(length);
+  thisObject->vector_->resize(length);
   return &thisObject->vector_->front();
 }