diff --git a/NEWS.txt b/NEWS.txt index 39ed9abc0..f09c71ef4 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -35,6 +35,9 @@ New in SVN - Patch #3539678: Copy constructor does not initialize allocated_ for stringValue (contributed by rmongia). + - Patch #3600941: Missing field copy in Json::Value::iterator causing infinite + loop when using experimental internal map (#define JSON_VALUE_USE_INTERNAL_MAP) + (contributed by Ming-Lin Kao). New in JsonCpp 0.6.0: diff --git a/src/lib_json/json_valueiterator.inl b/src/lib_json/json_valueiterator.inl index 7457ca389..9b8558016 100644 --- a/src/lib_json/json_valueiterator.inl +++ b/src/lib_json/json_valueiterator.inl @@ -149,6 +149,7 @@ ValueIteratorBase::copy( const SelfType &other ) { #ifndef JSON_VALUE_USE_INTERNAL_MAP current_ = other.current_; + isNull_ = other.isNull_; #else if ( isArray_ ) iterator_.array_ = other.iterator_.array_;