diff options
author | Andy Schwerin <schwerin@10gen.com> | 2013-01-16 13:35:15 -0500 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2013-01-18 10:40:24 -0500 |
commit | e51b22e4ea37cf6a767561e27f8e316e5d5afd11 (patch) | |
tree | e8aced7b9171656a4e3db733e4792871d5a86c2e /src/mongo/db/dbmessage.h | |
parent | 664bdf3f3fd2c2388cea389c51632baa04a0ef9e (diff) | |
download | mongo-e51b22e4ea37cf6a767561e27f8e316e5d5afd11.tar.gz |
SERVER-8183 Iterative implementation of validateBSON().
Diffstat (limited to 'src/mongo/db/dbmessage.h')
-rw-r--r-- | src/mongo/db/dbmessage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbmessage.h b/src/mongo/db/dbmessage.h index a582ec1e018..aeb93134f51 100644 --- a/src/mongo/db/dbmessage.h +++ b/src/mongo/db/dbmessage.h @@ -202,7 +202,7 @@ namespace mongo { theEnd - nextjsobj >= 5 ); if ( cmdLine.objcheck ) { - Status status = validateBSON( nextjsobj, theEnd - nextjsobj, NULL ); + Status status = validateBSON( nextjsobj, theEnd - nextjsobj ); massert( 10307, str::stream() << "Client Error: bad object in message: " << status.reason(), status.isOK() ); |