[SERVER-7484] empty mongos queries with returnPartial can segfault Created: 26/Oct/12  Updated: 11/Jul/16  Resolved: 08/Nov/12

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.2.0
Fix Version/s: 2.2.2, 2.3.1

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

If the set of cursors returned from a returnPartial query is zero, it is possible in some cases to segfault when at least one cursor is expected in isSharded().



 Comments   
Comment by auto [ 06/Nov/12 ]

Author:

{u'date': u'2012-10-26T21:22:40Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-7484 zero results should not trigger error w/ returnPartial
Branch: v2.2
https://github.com/mongodb/mongo/commit/7eabf829d3bfb2798f56c0a863007d9c0facf357

Comment by auto [ 26/Oct/12 ]

Author:

{u'date': u'2012-10-26T14:22:40-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-7484 zero results should not trigger error w/ returnPartial
Branch: master
https://github.com/mongodb/mongo/commit/6cbd16c1076f8a601537f7987564dd5c1cc0cee4

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