[SERVER-70229] Coverity analysis defect 133860: Missing assignment operator Created: 05/Oct/22 Updated: 29/Oct/23 Resolved: 22/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0, 6.3.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Martin Neupauer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | coverity, pm2697-m4 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | QE 2022-10-17, QE 2022-10-31, QE 2022-11-14, QE 2022-11-28 |
| Participants: | |
| Story Points: | 1 |
| Description |
|
Missing assignment operator This class, which frees resources in its destructor, does not have a user-written copy assignment operator, but is copy-assigned. Unless the resource is managed separately from the copy operation, this will cause use-after-free errors. Class that owns resources lacks a user-written assignment operator |
| Comments |
| Comment by Githook User [ 15/Nov/22 ] |
|
Author: {'name': 'Martin Neupauer', 'email': 'xmaton@messengeruser.com'}Message: |
| Comment by Martin Neupauer [ 15/Nov/22 ] |