[SERVER-7671] BSONObjBuilder::decouple returns a pointer to buf+4, which makes it unfreeable Created: 15/Nov/12 Updated: 11/Jul/16 Resolved: 26/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Client |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | James Wahlin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Minor Change | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Comments |
| Comment by auto [ 21/Dec/12 ] |
|
Author: {u'date': u'2012-12-19T19:39:54Z', u'email': u'james.wahlin@10gen.com', u'name': u'James Wahlin'}Message: Signed-off-by: Andrew Morrow <acm@10gen.com> |
| Comment by James Wahlin [ 15/Nov/12 ] |
|
A fix should be straight forward. Will shoot have have ready for review next week. Looks like we should also add an assertion on buffer ownership as well (as is done in obj() which also transfers ownership of the buffer). |