Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-5594 memory corruption in sharding/auth1.js V8 builder

Signed-off-by: Eric Milkie <milkie@10gen.com>
  • Loading branch information...
commit 97d9c1b81567b76b8a1b111a20024386d39343cd 1 parent 6de83dd
@renctan renctan authored milkie committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  client/dbclient_rs.cpp
View
2  client/dbclient_rs.cpp
@@ -550,7 +550,7 @@ namespace mongo {
errorOccured = true;
}
- if ( errorOccured ) {
+ if ( errorOccured && nodesOffset >= 0 ) {
scoped_lock lk( _lock );
_nodes[nodesOffset].ok = false;
}
Please sign in to comment.
Something went wrong with that request. Please try again.