[CXX-1488] Fix issues identified by coverity Created: 03/Jan/18  Updated: 28/Oct/23  Resolved: 26/Jan/18

Status: Closed
Project: C++ Driver
Component/s: Implementation
Affects Version/s: None
Fix Version/s: 3.2.0

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change

 Comments   
Comment by Andrew Morrow (Inactive) [ 25/Jan/18 ]

Re-opening to wait for next coverity run before considering the issue fully resolved.

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Initialize all fields of bson_iter_t
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2a3cde8f571c341c76744fd31c48afb25306fa3f

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Tighten up element interface
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/ba805fd519f95368bb0c94952b7eade2a02171d9

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Teach coverity that read_size is never zero
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/5950eaa728b90faeb73fae5afa6d04e7d9cdd9de

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Check return value from bson iter init
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/4915afe653606c020e7bf16160705ca7f10fa8a8

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Add missing move
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/633869c2255198c219ea51f4d34ae18998154850

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Protect self assignment in collection and database
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/66c7190f5c2744bae67933bd763117a9c97bd7f6

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Clean up itoa so it doesn't need a copy ctor
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/fe752bc043c19d9f60dc693ba5fb55f5ba792312

Comment by Githook User [ 25/Jan/18 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: CXX-1488 Fix index_view lifecycle methods
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/474b4fb0834dc24bb3e3b2faf1cd2185c944a467

Generated at Wed Feb 07 22:02:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.