Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ext/node): fix Buffer.copy when sourceStart > source.length #21345

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Nov 27, 2023

This PR re-enables a test case ignored in #21328. The test case revealed the bug of Buffer#copy implementation, which has been fixed in nodejs/node#47758 in Node.js repo.

closes #21335

@bartlomieju
Copy link
Member

Looks like the test is actually failing.

@kt3k
Copy link
Member Author

kt3k commented Nov 28, 2023

Updated the test case. The diff comes from this nodejs/node@2545019#diff-a265cfa759473351948564aded4d796e5ae4d558ad4b51831300c319dadf80f4L127-R127

@kt3k kt3k merged commit 567d7ff into denoland:main Nov 28, 2023
14 checks passed
@kt3k kt3k deleted the fix-node-buffer-copy branch November 28, 2023 13:28
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.

Unignore a test case in test-buffer-copy.js
2 participants