[SERVER-36575] Coverity analysis defect 104960: Dereference null return value Created: 10/Aug/18 Updated: 06/Dec/22 Resolved: 10/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Sharding
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Return value of function which returns null is dereferenced without checking Defect 104960 (STATIC_C)
|
| Comments |
| Comment by Randolph Tan [ 10/Aug/18 ] |
|
Marked as ignored in coverity with comments: "if (opCtx->getTxnNumber()) implies session will be attached to opCtx, txnParticipant always exists when Session exists" |
| Comment by Esha Maharishi (Inactive) [ 10/Aug/18 ] |
|
CC renctan |