[CDRIVER-203] Crash connecting to replicaset Created: 14/Mar/13  Updated: 10/Aug/13  Resolved: 10/Aug/13

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 0.7
Fix Version/s: 0.8.1

Type: Bug Priority: Critical - P2
Reporter: Andrea Fontana Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Connecting to replica set crash my app.

Digging into mongo source I've notice this:

On mongo_replica_set_check_seed() an object named "hosts" (bson) is declared, not used, but then free (destroyed).

It crashes the driver. Removing declaration and bson_destroy() call, driver works smoothly. Don't know if same problem appears in other places.


Generated at Wed Feb 07 21:08:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.