[SERVER-29461] Add debug-only check that OP_MSG doesn't contain duplicate fields Created: 06/Jun/17  Updated: 30/Oct/23  Resolved: 13/Jun/17

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

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-06-19
Participants:

 Description   

We currently error out command requests that contain duplicate fields as a security precaution. However, that happens on the server rather than the client, and does not prevent duplicate fields in replies.



 Comments   
Comment by Githook User [ 13/Jun/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-29461 check for duplicate fields when serializing OP_MSG
Branch: master
https://github.com/mongodb/mongo/commit/52c36ee17b8f58d71b074fe2cf34ca0b3a744f5c

Comment by Githook User [ 13/Jun/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-29461 Don't return duplicate fields from mapreduce.shardedfinish
Branch: master
https://github.com/mongodb/mongo/commit/bf2ddb54895019b59495fb5ea96413b64b45aa7f

Comment by Githook User [ 13/Jun/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-29461 Filter command output to avoid duplicating generic reply fields
Branch: master
https://github.com/mongodb/mongo/commit/5d66fac38577a0623ff64d319df3311adc83cf51

Generated at Thu Feb 08 04:20:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.