fotonauts/mongo-objc-driver — Issue #3: MongoHub crash when adding array
Author: ohardy
Created: 2011-11-21 10:08:42+00:00
State: open

When updating existing document and adding array like that :

```
{
"_id": { "$oid" : "4EC92D675CC682AF6FF92056" },
"test": [
1, "2"
]
}

```

It just crash in file bson.c :

```static int bson_append_estart( bson *b, int type, const char *name, const size_t dataSize ) {
size_t len = strlen( name ) + 1;
```