[CDRIVER-876] Leak in mongoc_uri_parse_option Created: 23/Sep/15  Updated: 23/Sep/15  Resolved: 23/Sep/15

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.1.10
Fix Version/s: 1.2-beta0, 1.1.11

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Mira Carey
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

mongoc_uri_parse_option leaks the key and potentially value of the option if either is invalid (e.g., invalid UTF-8 or the wrong BSON type for that option).



 Comments   
Comment by A. Jesse Jiryu Davis [ 23/Sep/15 ]

Resolved a while ago, but not filed in Jira at the time:

https://github.com/mongodb/mongo-c-driver/commit/5fa8774

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