Bug 2123423 - code change: avoid use-after-move issues identified by Coverity scan
Summary: code change: avoid use-after-move issues identified by Coverity scan
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW-Multisite
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.3
Assignee: Matt Benjamin (redhat)
QA Contact: Madhavi Kasturi
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2126049
TreeView+ depends on / blocked
 
Reported: 2022-09-01 16:05 UTC by Casey Bodley
Modified: 2023-09-19 04:25 UTC (History)
8 users (show)

Fixed In Version: ceph-16.2.10-30.el8cp
Doc Type: Bug Fix
Doc Text:
.Variable access no longer causes undefined program behavior Previously, a coverity scan would identify two cases, where variables could be used after a move, potentially causing an undefined program behavior to occur. With this release, variable access is fixed and the potential fault can no longer occur.
Clone Of:
Environment:
Last Closed: 2023-01-11 17:41:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 57328 0 None None None 2022-09-01 16:05:53 UTC
Ceph Project Bug Tracker 57329 0 None None None 2022-09-01 16:05:53 UTC
Red Hat Issue Tracker RHCEPH-5185 0 None None None 2022-09-01 16:20:26 UTC
Red Hat Product Errata RHSA-2023:0076 0 None None None 2023-01-11 17:42:08 UTC

Description Casey Bodley 2022-09-01 16:05:53 UTC
Description of problem:

a coverity scan discovered two cases where variables were used after a move


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 RHEL Program Management 2022-09-01 16:06:01 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 J. Eric Ivancich 2022-09-01 16:35:31 UTC
Casey and I each added a commit to address.

Comment 17 errata-xmlrpc 2023-01-11 17:41:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.3 security update and Bug Fix), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:0076

Comment 18 Red Hat Bugzilla 2023-09-19 04:25:41 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.