Bug 2155916 - code change: avoid use-after-move issues identified by Coverity scan 6.0
Summary: code change: avoid use-after-move issues identified by Coverity scan 6.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 6.0
Assignee: J. Eric Ivancich
QA Contact: Chaithra
Eliska
URL:
Whiteboard:
Depends On:
Blocks: 2126050
TreeView+ depends on / blocked
 
Reported: 2022-12-22 21:48 UTC by J. Eric Ivancich
Modified: 2023-03-20 19:00 UTC (History)
12 users (show)

Fixed In Version: ceph-17.2.5-45.el9cp
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 fix, variable access is fixed and the potential fault can no longer occur.
Clone Of:
Environment:
Last Closed: 2023-03-20 18:59:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-5843 0 None None None 2022-12-22 21:57:49 UTC
Red Hat Product Errata RHBA-2023:1360 0 None None None 2023-03-20 19:00:19 UTC

Description J. Eric Ivancich 2022-12-22 21:48:17 UTC
This bug was initially created as a copy of Bug #2123423

I am copying this bug because: 



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-12-22 21:48:29 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 20 errata-xmlrpc 2023-03-20 18:59:51 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 (Red Hat Ceph Storage 6.0 Bug Fix update), 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/RHBA-2023:1360


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