[CXX-229] Ensure internally iterated cursor pointers are not null Created: 17/May/13  Updated: 20/Sep/17  Resolved: 13/Jan/15

Status: Closed
Project: C++ Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc4

Type: Improvement Priority: Major - P3
Reporter: Abhijit Chandrakant Pawar Assignee: Tyler Brock
Resolution: Done Votes: 0
Labels: legacy-cxx, pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 64 bit



 Description   

There are multiple instances of the dbclientcursor pointer in cpp client driver which has not been checked for the validity of the pointer before usage.



 Comments   
Comment by Githook User [ 20/Sep/17 ]

Author:

{'email': 'dtreffiletti@minervanetworks.com', 'name': 'Danilo Treffiletti', 'username': 'Urban82'}

Message: CXX-1426 Check cursor pointers before to use them

Some check where missing from the commit:
CXX-229 check cursor pointers before internally iterating

Signed-off-by: Andrew Morrow <acm@mongodb.com>
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/01492c0699aa78f0251d9ecadcbf660d7d3b8980

Comment by Githook User [ 13/Jan/15 ]

Author:

{u'username': u'TylerBrock', u'name': u'Tyler Brock', u'email': u'tyler.brock@gmail.com'}

Message: CXX-229 check cursor pointers before internally iterating
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/5cc7f666c756685ec10f2a4bc388a9bfc1d17b6c

Comment by Benety Goh [ 14/May/14 ]

Hi Abhijit,

We have moved this issue to the C++ Driver queue. Would you mind resubmitting your pull request to the C++ Driver GitHub repository? We'll be closing Pull Request #427 shortly.

https://github.com/mongodb/mongo-cxx-driver

Regards,
Ben

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