Skip to content

Fix FSTree problems with extracting headers from combined objects#3518

Merged
cthulhu-rider merged 3 commits intomasterfrom
3517-fstree-panic
Aug 14, 2025
Merged

Fix FSTree problems with extracting headers from combined objects#3518
cthulhu-rider merged 3 commits intomasterfrom
3517-fstree-panic

Conversation

@End-rey
Copy link
Contributor

@End-rey End-rey commented Aug 11, 2025

Closes #3517.

@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 23.93%. Comparing base (b8fdfda) to head (0b7ed3a).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3518      +/-   ##
==========================================
+ Coverage   23.91%   23.93%   +0.02%     
==========================================
  Files         669      669              
  Lines       50248    50251       +3     
==========================================
+ Hits        12018    12030      +12     
+ Misses      37261    37256       -5     
+ Partials      969      965       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@End-rey End-rey force-pushed the 3517-fstree-panic branch 2 times, most recently from 24df51e to 3104460 Compare August 13, 2025 15:07
@End-rey End-rey requested a review from cthulhu-rider August 13, 2025 15:41
@End-rey End-rey force-pushed the 3517-fstree-panic branch 2 times, most recently from 09d1429 to 3b27632 Compare August 13, 2025 16:50
@End-rey End-rey requested a review from cthulhu-rider August 13, 2025 17:08
Copy link
Contributor

@cthulhu-rider cthulhu-rider left a comment

Choose a reason for hiding this comment

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

resolve conflict pls

@End-rey End-rey force-pushed the 3517-fstree-panic branch from 3b27632 to 0b7ed3a Compare August 14, 2025 08:32
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
Due to the fact that the length of buffer did not correspond to the capacity and
did not increase anywhere, there were cases when there were fewer bytes in the
buffer than necessary. Fix problem. Add check for the length of slice in the
parsing of the combined prefix. Add test.

Closes #3517.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
If the ID was not found, then the program entered an endless loop. The EOF is
now checked on a new buffer read.

Signed-off-by: Andrey Butusov <andrey@nspcc.io>
@cthulhu-rider cthulhu-rider merged commit ec3dbc3 into master Aug 14, 2025
22 checks passed
@cthulhu-rider cthulhu-rider deleted the 3517-fstree-panic branch August 14, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FSTree panic

3 participants