[SERVER-49957] Read out of bounds in getPrevAndNextUUIDs Created: 28/Jul/20  Updated: 29/Oct/23  Resolved: 30/Jul/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.2, 4.2.11

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Participants:
Linked BF Score: 54

 Description   

If the find returns begin, then prev will go outside the buffer



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

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-49957 Fix read out of bounds in dbCheck getPrevAndNextUUIDs when we operate on first element

(cherry picked from commit 41fda13f7239308239ade7f143f9b5e2fef0e87b)
Branch: v4.2
https://github.com/mongodb/mongo/commit/961af6d38fd9ae237b5a57991374b71d2f2551be

Comment by Githook User [ 10/Sep/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-49957 Fix read out of bounds in dbCheck getPrevAndNextUUIDs when we operate on first element

(cherry picked from commit 41fda13f7239308239ade7f143f9b5e2fef0e87b)
Branch: v4.4
https://github.com/mongodb/mongo/commit/24207abdc33d589f2e7681a2186a0f1402c49883

Comment by Githook User [ 30/Jul/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-49957 Fix read out of bounds in dbCheck getPrevAndNextUUIDs when we operate on first element
Branch: master
https://github.com/mongodb/mongo/commit/41fda13f7239308239ade7f143f9b5e2fef0e87b

Generated at Thu Feb 08 05:21:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.