Skip to content

fix(core): convert string to buffer in checksumStream#2129

Open
smilkuri wants to merge 2 commits into
mainfrom
fix/checksum
Open

fix(core): convert string to buffer in checksumStream#2129
smilkuri wants to merge 2 commits into
mainfrom
fix/checksum

Conversation

@smilkuri

@smilkuri smilkuri commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Internal JS-7042

Description of changes:

Convert string chunks to Buffer in onSourceData before passing to checksum.update(). Checksum implementation expects buffer and would miscompute when a string is given. Added unit test for string chunk handling.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@smilkuri smilkuri requested a review from a team as a code owner July 7, 2026 16:56
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.

3 participants