Actions
Bug #49419
closedcephfs-mirror: dangling pointer in PeerReplayer
Status:
Resolved
Priority:
Normal
Assignee:
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()}};
Actions