[SERVER-8711] check result of dynamic_cast not NULL in config_upgrade.cpp Created: 25/Feb/13 Updated: 11/Jul/16 Resolved: 26/Feb/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Greg Studer | Assignee: | Greg Studer |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
... should never happen, but we should add an assert so automated tools don't complain. |
| Comments |
| Comment by auto [ 26/Feb/13 ] |
|
Author: {u'date': u'2013-02-26T21:24:10Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}Message: |
| Comment by Eric Milkie [ 25/Feb/13 ] |
|
Always check the return status of dynamic_cast! |