[SERVER-13040] Coverity analysis defect 20246: Uninitialized scalar variable Created: 04/Mar/14  Updated: 23/Feb/16  Resolved: 23/Feb/16

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Bug Priority: Minor - P4
Reporter: auto Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 10 (02/19/16), Sharding 11 (03/11/16)
Participants:

 Description   

A new defect has been detected and assigned to schwerin in Coverity Connect.
http://coverity.mongodb.com//sourcebrowser.htm?projectId=10001#mergedDefectId=20246
The defect was flagged by checker UNINIT in
file /src/mongo/db/commands/storage_details.cpp
function mongo::<unnamed>::RecPos::from(int, int, int, const mongo::<unnamed>::AnalyzeParams &)
and this ticket was created by schwerin



 Comments   
Comment by Andy Schwerin [ 23/Feb/16 ]

This was fixed a couple of years ago, in time for the first 2.7 unstable release. I don't know how I failed to close the ticket back then.

Comment by Githook User [ 01/May/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}

Message: SERVER-13040 Fix use of uninitialized value in storageDetails command.
Branch: master
https://github.com/mongodb/mongo/commit/d202cb934339c297f1c096e62c6adbae14bcbf89

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