[SERVER-49205] Mongo shell seg faults when reading field names with embedded nulls Created: 30/Jun/20  Updated: 19/Nov/21  Resolved: 19/Nov/21

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Devin Hilly (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File binaryFile.bson    
Issue Links:
Related
Operating System: ALL
Steps To Reproduce:

It's hard for me to give repro steps for this that don't involve using Data Lake as the shell does validate the provided BSON on insert. If it helps, here is a copy of the BSON document we returned to the shell: binaryFile.bson . If not, I'm happy to walk through setting up and querying a Data Lake.

Participants:
Story Points: 3

 Description   

Data Lake sent the shell a BSON document that contained embedded nulls in the field names. This is invalid BSON, and it caused the shell to seg fault. 



 Comments   
Comment by Brooke Miller [ 08/Jun/21 ]

Hi devin.hilly, can you provide the steps to reproduce this issue? A stacktrace would also help us investigate the issue. 

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