Repository navigation
tentacle: mgr/ActivePyModules: fix dangling string_view in get_perf_schema_python - #68107
Merged
Merged
Conversation
Contributor
Author
|
@ronen-fr can you please code review the backport? |
Contributor
Author
|
jenkins test make check |
ronen-fr
approved these changes
Aug 6, 2026
ronen-fr
left a comment
Contributor
There was a problem hiding this comment.
Matches the original PR.
Contributor
|
This PR has been added to wip-bharath13-testing-20260810.232246-tentacle. |
Contributor
Author
Contributor
Author
|
jenkins test make check |
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
force-pushed
the
wip-75782-tentacle
branch
from
August 21, 2026 23:12
d803579 to
cc908ff
Compare
Member
|
jenkins test make check |
Contributor
|
@batrick - Still LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/75782
backport of #66824
parent tracker: https://tracker.ceph.com/issues/74286
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh