[GODRIVER-464] nil check of cursor missing in changeStream Close function Created: 12/Jun/18 Updated: 28/Oct/23 Resolved: 28/Nov/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | None |
| Fix Version/s: | 0.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | beta | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
if a change stream's `Next` is called and a round trip error is encountered, the cursor gets set to nil and closing it panics on a segfault |
| Comments |
| Comment by Githook User [ 28/Nov/18 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Add nil checks for change stream cursors. Change-Id: I62b06a9fd52c9cd78d2fd32648d795705a98a102 |