Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
Date: 2010-09-01 19:05:26 +0000 (Wed, 01 Sep 2010)
Fixed crash with unexpectedly formed JSON query.
--- trunk/lib/jsoncpp/jsoncpp/src/lib_json/json_value.cpp 2010-09-01 18:44:58 UTC (rev 33400)
+++ trunk/lib/jsoncpp/jsoncpp/src/lib_json/json_value.cpp 2010-09-01 19:05:26 UTC (rev 33401)
@@ -1047,8 +1047,8 @@
const Value &
Value::operator( const char *key ) const
- JSON_ASSERT( type_ == nullValue || type_ == objectValue );
- if ( type_ == nullValue )
+ JSON_ASSERT( type_ == nullValue || type_ == objectValue || type_ == arrayValue );
+ if ( type_ == nullValue || type_ == arrayValue)
CZString actualKey( key, CZString::noDuplication );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Sign up for the SourceForge newsletter: