[SERVER-5127] Limit recursion depth of BSONObj::toString() Created: 28/Feb/12 Updated: 15/Aug/12 Resolved: 13/Apr/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | siddharth.singh@10gen.com | Assignee: | siddharth.singh@10gen.com |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Description |
|
This is to safeguard against issues like ( |
| Comments |
| Comment by auto [ 13/Jul/12 ] |
|
Author: {u'date': u'2012-07-12T11:14:38-07:00', u'email': u'steve.briskin@10gen.com', u'name': u'Steve Briskin'}Message: JS tests for |
| Comment by auto [ 18/Apr/12 ] |
|
Author: {u'login': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by auto [ 16/Apr/12 ] |
|
Author: {u'login': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}Message: Lower maxToStringRecursionDepth to 100 |
| Comment by auto [ 14/Apr/12 ] |
|
Author: {u'login': u'tadmarshall', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: |
| Comment by auto [ 14/Apr/12 ] |
|
Author: {u'login': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: |
| Comment by auto [ 14/Apr/12 ] |
|
Author: {u'login': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}Message: Don't use BSONObjBuilder::numStr() to convert 500 to a string. |
| Comment by siddharth.singh@10gen.com [ 13/Apr/12 ] |
|
Need to document that the current maximum nested allowable depth for BSONObj.toString() is 500. |
| Comment by auto [ 13/Apr/12 ] |
|
Author: {u'login': u'', u'name': u'Siddharth Singh', u'email': u'singhsiddharth@gmail.com'}Message: This is to safeguard against a scenario where a deep nested array |