[SERVER-22719] Coverity analysis defect 77719: Explicit null dereferenced Created: 18/Feb/16  Updated: 08/Jan/24  Resolved: 14/Mar/16

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Mira Carey
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
Participants:

 Description   

Dereference of an explicit null value

Defect 77719 (STATIC_C)
Checker FORWARD_NULL (subcategory deref_constant_null)
File: /src/mongo/scripting/mozjs/code.cpp
Function mongo::mozjs::CodeInfo::construct(JSContext *, JS::CallArgs)



 Comments   
Comment by Mira Carey [ 14/Mar/16 ]

SpiderMonkey does this on purpose to catch the use of certain objects as temporaries

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