Skip to content

[io] Fix TFile::WalkTKeys mishandling strings longer than 127 characters #19011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 18, 2025

Conversation

silverweed
Copy link
Contributor

Using a signed char is incorrect, as strings in root files can be up to 255 characters long (as far as I understand).

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

@silverweed silverweed requested a review from dpiparo June 11, 2025 13:47
@silverweed silverweed self-assigned this Jun 11, 2025
@silverweed silverweed requested a review from pcanal as a code owner June 11, 2025 13:47
@silverweed silverweed force-pushed the tfile_walkkeys_fix branch from 56793f1 to e19a83f Compare June 11, 2025 13:48
@silverweed silverweed changed the title [io] Fix WalkTKeys mishandling strings longer than 127 characters [io] Fix TFile::WalkTKeys mishandling strings longer than 127 characters Jun 11, 2025
Copy link

github-actions bot commented Jun 11, 2025

Test Results

    19 files      19 suites   3d 16h 15m 17s ⏱️
 2 811 tests  2 809 ✅ 0 💤 2 ❌
51 909 runs  51 907 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit ca2300f.

♻️ This comment has been updated with latest results.

@silverweed silverweed force-pushed the tfile_walkkeys_fix branch from e19a83f to ca2300f Compare June 12, 2025 14:25
@silverweed silverweed requested a review from pcanal June 16, 2025 10:18
@silverweed
Copy link
Contributor Author

@pcanal can this be merged?

Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@silverweed silverweed merged commit e951386 into root-project:master Jun 18, 2025
21 of 24 checks passed
@silverweed silverweed deleted the tfile_walkkeys_fix branch June 18, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants