[SERVER-19426] applyOps crashes server when command operation lacks "o" field Created: 15/Jul/15  Updated: 05/Feb/16  Resolved: 16/Jul/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.1.5
Fix Version/s: 3.1.6

Type: Bug Priority: Major - P3
Reporter: J Delaney Assignee: J Delaney
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

If applyOps is called with op set to 'c', ns set to any string, but no o field then the server will crash.

Does not affect 3.0.5-rc0



 Comments   
Comment by Githook User [ 16/Jul/15 ]

Author:

{u'username': u'j-delaney', u'name': u'J Delaney', u'email': u'j.delaney@mongodb.com'}

Message: SERVER-19426 Validate "o" field for applyOps command operations.

Closes #1003.

Signed-off-by: Max Hirschhorn <max.hirschhorn@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/cb58f391332c1ae196e128babccce48f95049dd4

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