[SERVER-8183] validateBSONInternal can cause a stack overflow due to recursive calls Created: 15/Jan/13 Updated: 11/Jul/16 Resolved: 18/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | 2.4.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Ben Becker | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Run nestedobj1.js and passing 5000 to makeNestedObj() with the latest mongo client from master (needs git commit b6879559f6a87c585915553ca9edb931d0df8e83) |
| Participants: |
| Description |
|
validateBSONInternal() can crash the server due to recursive calls to traverse an array. |
| Comments |
| Comment by Andy Schwerin [ 18/Jan/13 ] |
|
|
| Comment by auto [ 18/Jan/13 ] |
|
Author: {u'date': u'2013-01-16T18:35:15Z', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}Message: |