Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-27209 Eliminate dangerous BSONElement string extraction methods | Matt Kneiser | 2022-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix: Change return type of BSONObj::getStringField to include size (StringData vs. char*). A char* only contains the data with an ending NULL termination. Whereas a StringData contains data + size so caller knows how to interpret data if there are embedded NULLs. - Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors. A dangling reference to 'maxLen' in a comment led me to this historical issue. $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h commit 0d38ef5 Author: Mathias Stearn mathias@10gen.com Date: Tue Dec 19 14:23:08 2017 -0500 SERVER-32302 Compute BSONElement sizes eagerly - Test: Add tests for NULL bytes being returned by getStringField - $ ninja -j400 +bson_obj_test - Cleanup: Move BSONElement::valuestr() from public to private - Cleanup: Remove BSONElement::valuestrsafe() - Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup their callsites with better alternatives. - Cleanup: Make multi-line BSONElement & BSONObj public API comments conform to style guidelines - Nit: Fix spelling in a comment | ||||
* | SERVER-45214 FieldParser::extractNumber fails ubsan for NaNs | Geert Bosch | 2019-12-22 | 1 | -2/+5 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -370/+346 |
| | |||||
* | SERVER-18798 Move FindAndModifyRequest to the request/response library | Kaloian Manassiev | 2015-06-03 | 1 | -2/+2 |
| | |||||
* | SERVER-17880 Rename OpTime to Timestamp | Eric Milkie | 2015-04-07 | 1 | -6/+6 |
| | |||||
* | SERVER-13256 Add usings and qualifications for names from namespace std | Andrew Morrow | 2015-01-15 | 1 | -0/+1 |
| | |||||
* | SERVER-14041 enhance secondaryThrottle parameter | Randolph Tan | 2014-07-16 | 1 | -1/+1 |
| | | | | | | | This reverts commit 37f2a1e3b724dbd9e1f8eafd4ac87c5bf613c048 (undo revert). This reverts commit d60fd22dec1c0bd104622eab463cdbba18bf11a9 (undo revert). Fix Windows compile failure. Add more defensive checks. | ||||
* | Revert "SERVER-14041 enhance secondaryThrottle parameter" | Randolph Tan | 2014-07-15 | 1 | -1/+1 |
| | | | | This reverts commit fa1233fbe4a48ef0675820f381987f1df4f42f75. | ||||
* | SERVER-14041 enhance secondaryThrottle parameter | Randolph Tan | 2014-07-15 | 1 | -1/+1 |
| | |||||
* | SERVER-5800 convert 2d predicate queries into covered index scans | Greg Studer | 2014-06-10 | 1 | -0/+61 |
| | |||||
* | SERVER-12139 allow BSONElement parsing for single-pass parse speedup | Greg Studer | 2014-01-07 | 1 | -70/+145 |
| | |||||
* | SERVER-9469 add full support for Timestamp/OpTime to field parser | Eric Milkie | 2013-12-20 | 1 | -1/+26 |
| | |||||
* | SERVER-11968 Write commands allow illegal collection names | Randolph Tan | 2013-12-09 | 1 | -1/+2 |
| | |||||
* | SERVER-10519 aggregate upsert and n stats in mongos | Greg Studer | 2013-11-04 | 1 | -0/+24 |
| | |||||
* | Move declaration of _genFieldErrMsg in FieldParser into the header file | Spencer T Brody | 2013-09-20 | 1 | -11/+0 |
| | |||||
* | SERVER-10521 Types for write commands. | Alberto Lerner | 2013-09-12 | 1 | -3/+3 |
| | |||||
* | SERVER-8886 Add OpenSSL exception to files in src/mongo/db | Ian Whalen | 2013-09-06 | 1 | -0/+12 |
| | |||||
* | SERVER-9468 Move s/field-parser* to db/ | Jason Rassi | 2013-06-03 | 1 | -0/+285 |