[SERVER-67376] 32 bit integer overflow in Value{} creation Created: 17/Jun/22  Updated: 29/Oct/23  Resolved: 21/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc11, 6.1.0-rc0

Type: Bug Priority: Critical - P2
Reporter: Matt Boros Assignee: Matt Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: QO 2022-06-27
Participants:

 Description   

An integer overflow can occur when creating the bucket filter for the time series bounded sort optimization. This is reproducible in jstests/noPassthrough/timeseries_sort.js, similar to SERVER-67315



 Comments   
Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-67376: 32 bit integer overflow in Value{} creation

(cherry picked from commit 153d7c719b079637ce223dc88336caa403942894)
Branch: v6.0
https://github.com/mongodb/mongo/commit/c6430dd53bed6f12017da8ff7531c5b5ec12cc26

Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Matt Boros', 'email': 'matt.boros@mongodb.com', 'username': 'mattBoros'}

Message: SERVER-67376: 32 bit integer overflow in Value{} creation
Branch: master
https://github.com/mongodb/mongo/commit/153d7c719b079637ce223dc88336caa403942894

Generated at Thu Feb 08 06:07:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.