summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Wahlin <james.wahlin@10gen.com>2016-03-23 15:15:27 -0400
committerJames Wahlin <james.wahlin@10gen.com>2016-03-23 15:29:28 -0400
commitbcac0c80bcf1e4c6b7a55e165f9d08336338068d (patch)
treeffb4bbb7935817bebd9658636d8e7f8fc4bd6ede
parentabf99414a9cb52ae44a00b22b6d29401d2f8d884 (diff)
downloadmongo-bcac0c80bcf1e4c6b7a55e165f9d08336338068d.tar.gz
SERVER-23097 Fix segfault on invalid BSONObj reference in MapReduce
-rw-r--r--src/mongo/db/commands/mr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp
index ae151e41aa6..52ae5cf6f7c 100644
--- a/src/mongo/db/commands/mr.cpp
+++ b/src/mongo/db/commands/mr.cpp
@@ -1472,8 +1472,7 @@ public:
return appendCommandStatus(
result,
Status(ErrorCodes::OperationFailed,
- str::stream() << "Executor killed during mapReduce command: "
- << WorkingSetCommon::toStatusString(o)));
+ str::stream() << "Executor killed during mapReduce command"));
}
reduceTime += t.micros();