[SERVER-25370] Coverity analysis defect 99747: Dereference null return value Created: 01/Aug/16  Updated: 16/Aug/16  Resolved: 05/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Kyle Suarez
Resolution: Done Votes: 0
Labels: coverity, read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Integration 2016-08-29
Participants:

 Description   

Return value of function which returns null is dereferenced without checking

Defect 99747 (STATIC_C)
Checker NULL_RETURNS (subcategory none)
File: /src/mongo/db/views/view_catalog.cpp
Function mongo::ViewCatalog::dropView(mongo::OperationContext *, const mongo::NamespaceString &)



 Comments   
Comment by Kyle Suarez [ 05/Aug/16 ]

Fixed in SERVER-24767.

Comment by Ian Whalen (Inactive) [ 01/Aug/16 ]

might already be resolved when Geert pushes his repl views change? Kyle to confirm.

Generated at Thu Feb 08 04:09:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.