Commit Graph

1 Commits

Author SHA1 Message Date
Mathias Stearn
a0db932113 SERVER-17224 Reserve room for EOO byte when starting BSONObj building
Since _done() is called from ~BSONObjBuilder we need to ensure that it cannot
fail. This prevents a double exception leading to a std::terminate call.

This also resolves SERVER-17226.
2015-03-05 13:22:19 -05:00