[SERVER-57117] ReadPreferenceSetting parsing is not resilient to incorrect types for 'hedge' option Created: 21/May/21  Updated: 29/Oct/23  Resolved: 24/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.7, 5.0.0-rc0, 5.0.0-rc1, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mihai Andrei Assignee: Mihai Andrei
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:
v5.0, v4.4
Sprint: Query Execution 2021-05-31
Participants:
Linked BF Score: 48

 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 25/May/21 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-57117 Verify that 'hedge' option is an object when parsing ReadPreferenceSetting

(cherry picked from commit 9a796a6115c3a6c3dafc3ad0298d54a64e1cda01)
(cherry picked from commit b9106a428a9520dfd85a01dc13b817ba2a017454)
Branch: v4.4
https://github.com/mongodb/mongo/commit/abc24b79dbf25d77915e3d8a4a7e8eea5e86992f

Comment by Githook User [ 24/May/21 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-57117 Verify that 'hedge' option is an object when parsing ReadPreferenceSetting

(cherry picked from commit 9a796a6115c3a6c3dafc3ad0298d54a64e1cda01)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b9106a428a9520dfd85a01dc13b817ba2a017454

Comment by Githook User [ 21/May/21 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}

Message: SERVER-57117 Verify that 'hedge' option is an object when parsing ReadPreferenceSetting
Branch: master
https://github.com/mongodb/mongo/commit/9a796a6115c3a6c3dafc3ad0298d54a64e1cda01

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