Bug #49419
cephfs-mirror: dangling pointer in PeerReplayer
Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
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
History
#1 Updated by Venky Shankar 8 days ago
- Target version set to v17.0.0
#2 Updated by Venky Shankar 7 days ago
- Status changed from Fix Under Review to Pending Backport
#3 Updated by Backport Bot 7 days ago
- Copied to Backport #49432: pacific: cephfs-mirror: dangling pointer in PeerReplayer added