[SERVER-6232] seg fault when providing an empty object as an expression argument Created: 28/Jun/12 Updated: 11/Jul/16 Resolved: 10/Jul/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 2.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
It looks like parsing an empty object in Expression::parseObject() produces a null pointer. And ExpressionNary::optimize() does not expect null pointers in vpOperand. Test:
|
| Comments |
| Comment by auto [ 10/Jul/12 ] |
|
Author: {u'date': u'2012-07-06T13:42:37-07:00', u'name': u'Matt Dannenberg', u'email': u'dannenberg.matt@gmail.com'}Message: |
| Comment by Mathias Stearn [ 03/Jul/12 ] |
|
this can probably be squashed at the same time as your $literal fixes |