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

buffer: fix atob input validation #42539

Merged
merged 3 commits into from Apr 2, 2022

Conversation

Copy link
Contributor

@aduh95 aduh95 commented Mar 31, 2022

I've added a test case, as it looks like WTP do not test for input with whitespace: https://github.com/web-platform-tests/wpt/blob/HEAD/html/webappapis/atob/base64.any.js

//cc @jasnell

Fixes: #42530

@nodejs-github-bot nodejs-github-bot added buffer needs-ci labels Mar 31, 2022
@aduh95 aduh95 added the dont-land-on-v12.x label Mar 31, 2022
@aduh95 aduh95 added author ready request-ci labels Mar 31, 2022
@github-actions github-actions bot removed the request-ci label Mar 31, 2022
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 1, 2022

@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 2, 2022

@aduh95 aduh95 added the commit-queue label Apr 2, 2022
@nodejs-github-bot nodejs-github-bot removed the commit-queue label Apr 2, 2022
@nodejs-github-bot nodejs-github-bot merged commit bba82cd into nodejs:master Apr 2, 2022
54 checks passed
@nodejs-github-bot
Copy link
Contributor

@nodejs-github-bot nodejs-github-bot commented Apr 2, 2022

Landed in bba82cd

@aduh95 aduh95 deleted the fix-atob-implementation branch Apr 2, 2022
juanarbol added a commit to juanarbol/node that referenced this issue Apr 5, 2022
Fixes: nodejs#42530

PR-URL: nodejs#42539
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
@juanarbol juanarbol mentioned this pull request Apr 5, 2022
@juanarbol juanarbol mentioned this pull request Apr 5, 2022
juanarbol added a commit that referenced this issue Apr 6, 2022
Fixes: #42530

PR-URL: #42539
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Akhil Marsonya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready buffer dont-land-on-v12.x needs-ci
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants