[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: |