Skip to content

cmd/utils/app: guard step-rebase against zero step size#20466

Merged
AskAlexSharov merged 1 commit intoerigontech:mainfrom
DonnPawelek666:fix/step-rebase-zero-step-size
Apr 10, 2026
Merged

cmd/utils/app: guard step-rebase against zero step size#20466
AskAlexSharov merged 1 commit intoerigontech:mainfrom
DonnPawelek666:fix/step-rebase-zero-step-size

Conversation

@DonnPawelek666
Copy link
Copy Markdown
Contributor

Summary

  • add an early new-step-size == 0 guard in stepRebase
  • prevent division-by-zero panic paths in modulo/division checks
  • return a clear validation error before any filesystem operations begin

@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 10, 2026
Merged via the queue into erigontech:main with commit bf23797 Apr 10, 2026
33 checks passed
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.

2 participants