[SERVER-73889] Coverity analysis defect 135067: Using a moved object Created: 10/Feb/23 Updated: 21/Feb/23 Resolved: 21/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | George Wangensteen |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | coverity | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Service Arch
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Service Arch 2023-02-20, Service Arch 2023-03-06 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Using a moved object Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved. |
| Comments |
| Comment by George Wangensteen [ 21/Feb/23 ] |
|
This is a somewhat unusual coverity ticket - we can't fix the issue coverity is complaining about directly, because it is in code generated by the IDL compiler. We need to instead fix the IDL compiler to stop generating this sort of code; I filed a ticket that documents the root-cause defect in the IDL compiler that we need to fix and has more context on the root-issue, and am closing this ticket as a duplicate of that one as a result. |
| Comment by Kyle Suarez [ 10/Feb/23 ] |
|
While |