Skip to content

Fix validation of extent index in journal file - #21400

Merged
stelfrag merged 1 commit into
netdata:masterfrom
stelfrag:fix_jv2_get_page_list_validation
Dec 4, 2025
Merged

Fix validation of extent index in journal file#21400
stelfrag merged 1 commit into
netdata:masterfrom
stelfrag:fix_jv2_get_page_list_validation

Conversation

@stelfrag

@stelfrag stelfrag commented Dec 4, 2025

Copy link
Copy Markdown
Collaborator
Summary
  • Adjust extent index validation

Summary by cubic

Fix off‑by‑one validation in journal v2: extent_index equal to extent_entries is now treated as invalid. Prevents out‑of‑bounds page access and ensures correct error logging when parsing the journal.

Written for commit ac06222. Summary will update automatically on new commits.

@stelfrag
stelfrag marked this pull request as ready for review December 4, 2025 13:19

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 1 file

@stelfrag
stelfrag enabled auto-merge (squash) December 4, 2025 13:50

@thiagoftsm thiagoftsm 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.

After two hours running, no issues were found locally. LGTM!

@stelfrag
stelfrag merged commit b50bc52 into netdata:master Dec 4, 2025
119 checks passed
@stelfrag
stelfrag deleted the fix_jv2_get_page_list_validation branch December 4, 2025 17:29
stelfrag added a commit to stelfrag/netdata that referenced this pull request Dec 5, 2025
@stelfrag stelfrag mentioned this pull request Dec 5, 2025
Ferroin pushed a commit that referenced this pull request Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants