[SERVER-25847] Coverity analysis defect 99860: Dereference after null check Created: 29/Aug/16  Updated: 05/Apr/17  Resolved: 29/Aug/16

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

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Keith Bostic (Inactive)
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-25846 Coverity analysis defect 99861: Deref... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Pointer is checked against null but then dereferenced anyway

Defect 99860 (STATIC_C)
Checker FORWARD_NULL (subcategory none)
File: /src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c
Function __wt_cond_signal
/src/third_party/wiredtiger/src/os_posix/os_mtx_cond.c, line: 125
Comparing "session" to null implies that "session" might be null.

    	if (session != NULL)



 Comments   
Comment by Keith Bostic (Inactive) [ 29/Aug/16 ]

Duplicates SERVER-25846.

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