[SERVER-42362] SockAddr looks beyond StringData length Created: 23/Jul/19  Updated: 29/Oct/23  Resolved: 24/Jul/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: 4.3 Required
Fix Version/s: 4.3.1

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

Issue Links:
Depends
Problem/Incident
Related
is related to SERVER-42130 optimization opportunity in ItoA Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Tools 2019-07-29
Participants:
Linked BF Score: 50

 Description   

See linked BF ticket.

This is only currently an issue if ItoA returns unterminated StringData. ItoA is under no obligation to terminate its StringData, however.



 Comments   
Comment by Githook User [ 24/Jul/19 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-42362 do not assume 0-terminated StringData
Branch: master
https://github.com/mongodb/mongo/commit/e2cfa658c7a64af2fe99b86fa0a50dcb71959fd9

Comment by Billy Donahue [ 23/Jul/19 ]

https://mongodbcr.appspot.com/496290004/

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