summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
authorKyle Suarez <kyle.suarez@mongodb.com>2017-03-06 11:44:54 -0500
committerKyle Suarez <kyle.suarez@mongodb.com>2017-03-06 11:47:29 -0500
commitc2b3178e0cae20a24bc9cc39a750bb864def17e3 (patch)
treeccdb4f78916cb4f07880d447042d77a20b5691d6 /src/mongo/client
parentb88ca5a851f4e24084da7b75b118f66430cb4421 (diff)
downloadmongo-c2b3178e0cae20a24bc9cc39a750bb864def17e3.tar.gz
SERVER-26703 reject commands exceeding the BSON depth limit
Any command sent to the server that exceeds the depth limit will fail. This also prevents users from inserting documents that exceed the depth limit.
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/SConscript b/src/mongo/client/SConscript
index f7321607742..c6a463665a3 100644
--- a/src/mongo/client/SConscript
+++ b/src/mongo/client/SConscript
@@ -150,6 +150,7 @@ clientDriverEnv.Library(
'replica_set_monitor_manager.cpp',
],
LIBDEPS=[
+ '$BUILD_DIR/mongo/bson/bson_depth',
'$BUILD_DIR/mongo/db/auth/authcommon',
'$BUILD_DIR/mongo/db/commands/test_commands_enabled',
'$BUILD_DIR/mongo/db/dbmessage',