diff options
author | Randolph Tan <randolph@10gen.com> | 2014-08-12 11:38:09 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-08-12 17:11:57 -0400 |
commit | 0ea8cf462b48a1aeefb10fd4bba0b1e93b0e661e (patch) | |
tree | 72071d6d59be9ffc8a8b27f60c8f7c7deed2e7d5 /src/mongo/util/exit.h | |
parent | cd5c001c43b295ad601b0004f9c31f9d454f5d04 (diff) | |
download | mongo-0ea8cf462b48a1aeefb10fd4bba0b1e93b0e661e.tar.gz |
SERVER-13854 Dereference before null check in dbexit at s/server.cpp
Diffstat (limited to 'src/mongo/util/exit.h')
-rw-r--r-- | src/mongo/util/exit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/util/exit.h b/src/mongo/util/exit.h index 6671ef3ad62..6eebefe0123 100644 --- a/src/mongo/util/exit.h +++ b/src/mongo/util/exit.h @@ -32,6 +32,7 @@ namespace mongo { + // Note: whyMsg can never be NULL. void dbexit( ExitCode returnCode, const char *whyMsg = "" ); MONGO_CLIENT_API bool inShutdown(); |