[SERVER-10673] running validate() on index as namespace crashes server Created: 03/Sep/13  Updated: 11/Jul/16  Resolved: 12/Feb/14

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: 2.5.2, 2.5.5
Fix Version/s: 2.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Asya Kamsky Assignee: Asya Kamsky
Resolution: Done Votes: 0
Labels: pull-request
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-7326 "validate" command should perform ful... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

db.system.namespaces.find()

Use any none collection (index) for validate():

db["test.$_id_"].validate(true)

server crashes without any message in the log.



 Comments   
Comment by Githook User [ 12/Feb/14 ]

Author:

{u'username': u'asya999', u'name': u'Asya Kamsky', u'email': u'asya999@gmail.com'}

Message: SERVER-10673 don't allow validate(true)

Don't allow validate true on indexes (non-normal namespaces).

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/eb770cae186051282309ca4582b4a255d4b8cfeb

Comment by Eliot Horowitz (Inactive) [ 04/Sep/13 ]

SERVER-7326

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