[GODRIVER-1153] nil pointer asMDoc Created: 19/Jun/19 Updated: 28/Oct/23 Resolved: 11/Jul/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | HarryWang | Assignee: | Go Community User |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
file /x/bsonx/value.go line 408 inside method asMDoc. mdoc must be a nil pointer and should mdoc = make(MDoc) before the for loop |
| Comments |
| Comment by Kristofer Brandow (Inactive) [ 11/Jul/19 ] |
|
Code Review: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/460856. |
| Comment by Esha Bhargava [ 20/Jun/19 ] |