Skip to content

Fix buffer-overflow in sha256 string construction#9

Merged
adam-rl merged 1 commit into
mainfrom
adam/fix-buffer-overflow
Aug 14, 2025
Merged

Fix buffer-overflow in sha256 string construction#9
adam-rl merged 1 commit into
mainfrom
adam/fix-buffer-overflow

Conversation

@adam-rl

@adam-rl adam-rl commented Aug 14, 2025

Copy link
Copy Markdown

Need to leave room for the last null-byte.

What this PR does / why we need it: Fixes a crash and stack corruption.

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Need to leave room for the last null-byte.
@adam-rl
adam-rl requested a review from gautam-rl August 14, 2025 19:09
@adam-rl
adam-rl merged commit f82ee0c into main Aug 14, 2025
2 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