[SERVER-45790] Robustify $unionWith parsing Created: 27/Jan/20  Updated: 29/Oct/23  Resolved: 28/Jan/20

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.3.4

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

Issue Links:
Depends
is depended on by SERVER-45674 $unionWith can encounter a use-after-... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2020-02-10
Participants:

 Description   

The parsing logic committed inĀ SERVER-45399 calls 'valueStringData()' on some unvalidated types which can lead to undefined behavior.



 Comments   
Comment by Githook User [ 28/Jan/20 ]

Author:

{'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}

Message: SERVER-45790 Robustify $unionWith parsing

create mode 100644 src/mongo/db/pipeline/document_source_union_with.idl
Branch: master
https://github.com/mongodb/mongo/commit/c351b2c2b92d22060f29a4e6331d1f7fcbe8faf3

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