[CDRIVER-2933] Coverity analysis defect 105235: Out-of-bounds access Created: 24/Jan/19  Updated: 27/Oct/23  Resolved: 20/Jul/23

Status: Closed
Project: C Driver
Component/s: libbson
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER-4575

 Description   

Out-of-bounds access to a buffer

Defect 105235 (STATIC_C)
Checker OVERRUN (subcategory none)
File: /src/libbson/src/bson/bson-context.c
Function _bson_context_init_random



 Comments   
Comment by Kevin Albertson [ 16/Dec/19 ]

Re-opening, coverity still thinks this is an issue. If this really has been fixed, mark the issue as ignored in coverity.

Comment by Githook User [ 31/Jan/19 ]

Author:

{'email': 'kevin.albertson@mongodb.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2933 fix leak in test-conveniences
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/d62b610f3d8ae3455fe54f116271deaa2d84157b

Comment by Githook User [ 31/Jan/19 ]

Author:

{'email': 'kevin.albertson@mongodb.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2933 fix oid test
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/8d85686a6caa1c1deb46f8ff81cdf344698816a7

Comment by Githook User [ 31/Jan/19 ]

Author:

{'email': 'kevin.albertson@mongodb.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2933 fix oob access in oid test
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/77a452e8f7e096713000bb4f8aef3f4f3182af7f

Comment by Githook User [ 31/Jan/19 ]

Author:

{'email': 'kevin.albertson@mongodb.com', 'name': 'Kevin Albertson'}

Message: CDRIVER-2933 fix oid test - pt 2
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5288581a9cb948876c67960eece220a0de01aba5

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