Project

General

Profile

Actions

Bug #49419

closed

cephfs-mirror: dangling pointer in PeerReplayer

Added by Ronen Friedman about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

stringify(snap_id) is ephemeral:

Compiler warning:

tools/cephfs_mirror/PeerReplayer.cc:916:62: warning: object backing the pointer will be destroyed at the end of the full-expression
snap_metadata snap_meta[] = {{PRIMARY_SNAP_ID_KEY.c_str(), stringify(snap_id).c_str()}};


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #49432: pacific: cephfs-mirror: dangling pointer in PeerReplayer ResolvedVenky ShankarActions
Actions #1

Updated by Venky Shankar about 3 years ago

  • Target version set to v17.0.0
Actions #2

Updated by Venky Shankar about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49432: pacific: cephfs-mirror: dangling pointer in PeerReplayer added
Actions #4

Updated by Loïc Dachary about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF