[SERVER-27370] MongoDB 3.4.0 with --rest segfaults if the route /isMaster is called Created: 12/Dec/16  Updated: 05/Apr/17  Resolved: 15/Dec/16

Status: Closed
Project: Core Server
Component/s: HTTP Console, Networking
Affects Version/s: 3.3.11, 3.4.0
Fix Version/s: 3.4.2, 3.5.2

Type: Bug Priority: Major - P3
Reporter: Kevin Adistambha Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Duplicate
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Steps To Reproduce:

1. mongod --rest --dbpath .
2. curl localhost:28017/isMaster

OS: OSX 10.11.6

Sprint: Platforms 2017-01-23
Participants:

 Description   

Calling the /isMaster route on a REST-enabled mongod will crash the server with a segmentation fault.

Reproducible starting from MongoDB 3.3.11 onward.

Originally reported in Google Groups: https://groups.google.com/forum/#!topic/mongodb-user/2PkA66At1eY



 Comments   
Comment by Githook User [ 09/Jan/17 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-27370 Only do compressor negotiation if a session is available

(cherry picked from commit 731601727c3ae1267ce31076bd3a5cfb5ef1cb36)
Branch: v3.4
https://github.com/mongodb/mongo/commit/f253f608a602e6f93b5353d8ba894abc2763188f

Comment by Githook User [ 15/Dec/16 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-27370 Only do compressor negotiation if a session is available
Branch: master
https://github.com/mongodb/mongo/commit/731601727c3ae1267ce31076bd3a5cfb5ef1cb36

Comment by Andrew Morrow (Inactive) [ 14/Dec/16 ]

Thank you for the bug report. I can reproduce this behavior, so we will get a fix together.

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