[SERVER-47579] Ensure cat may read files containing NULL bytes Created: 15/Apr/20  Updated: 29/Oct/23  Resolved: 13/May/20

Status: Closed
Project: Core Server
Component/s: Shell, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Spencer Jackson Assignee: Adam Cooper (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-48311 Fix free_monitoring tests and aws_e2e... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2020-05-04, Security 2020-05-18
Participants:

 Description   

cat currently stops reading files after it encounters a NULL byte. Sometimes, we must load binary data, and store it into a Javascript string for later processing. It would be helpful if the function was able to support these bytes.



 Comments   
Comment by Githook User [ 13/May/20 ]

Author:

{'name': 'Adam Cooper', 'email': 'adam.cooper@mongodb.com', 'username': 'super-cooper'}

Message: SERVER-47579 Ensure cat may read files containing NULL bytes
Branch: master
https://github.com/mongodb/mongo/commit/d545fadd58ecf3dc1fcd093d3bb84835a7e36c06

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