[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: SERVER-8711 check dynamic_cast result in config upgrade
Branch: master
https://github.com/mongodb/mongo/commit/f396ed2f582b17e0aeac263ca55242b699e7fc27

Comment by Eric Milkie [ 25/Feb/13 ]

Always check the return status of dynamic_cast!

Generated at Thu Feb 08 03:18:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.