Skip to content

tentacle: mgr/ActivePyModules: fix dangling string_view in get_perf_schema_python - #68107

Merged
batrick merged 1 commit into
ceph:tentaclefrom
NitzanMordhai:wip-75782-tentacle
Aug 24, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
NitzanMordhai:wip-75782-tentacle

Conversation

@NitzanMordhai

Copy link
Copy Markdown
Contributor

@NitzanMordhai NitzanMordhai added this to the tentacle milestone Mar 30, 2026
@github-actions github-actions Bot added the mgr label Mar 30, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label May 2, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. releng-audit-pass Release engineering: passed backport verification audit. labels Jul 11, 2026
@batrick batrick removed the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 12, 2026
@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

@ronen-fr can you please code review the backport?

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@ronen-fr ronen-fr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches the original PR.

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath13-testing-20260810.232246-tentacle.

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 21, 2026
prev_key_name and key_name variables were declared as std::string_view but
prev_key_name was assigned from key_name, which points to
key_name_without_counter's buffer. This buffer is overwritten each iteration,
causing prev_key_name and key_name to become a dangling pointers.

This results in corrupted comparisons and can cause assertion failures like
("cursor != root" in PyFormatter::close_section) or segmentation faults
when the corrupted string is passed back to telemetry.

Fixes: https://tracker.ceph.com/issues/74286
Signed-off-by: Nitzan Mordechai <[email protected]>
(cherry picked from commit 26d10b3)
@batrick
batrick force-pushed the wip-75782-tentacle branch from d803579 to cc908ff Compare August 21, 2026 23:12
@batrick
batrick requested a review from a team as a code owner August 21, 2026 23:12
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Aug 21, 2026
@batrick

batrick commented Aug 24, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@ronen-fr

Copy link
Copy Markdown
Contributor

@batrick - Still LGTM

@batrick
batrick merged commit cc29ce8 into ceph:tentacle Aug 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core mgr needs-qa releng-audit-pass Release engineering: passed backport verification audit. wip-bharath13-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants