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

createReadStream/createWithStream doesn't validate fd arg is valid #35178

Open
ronag opened this issue Sep 13, 2020 · 1 comment · May be fixed by #35187
Open

createReadStream/createWithStream doesn't validate fd arg is valid #35178

ronag opened this issue Sep 13, 2020 · 1 comment · May be fixed by #35187

Comments

@ronag
Copy link
Member

@ronag ronag commented Sep 13, 2020

Missing a validateInteger check

@ronag
Copy link
Member Author

@ronag ronag commented Sep 13, 2020

Similar with path argument.

dylanelliott27 added a commit to dylanelliott27/node that referenced this issue Sep 14, 2020
adds type validation to options fd & opts in createWriteStream and createReadStream.

Refs: nodejs#35178
@dylanelliott27 dylanelliott27 linked a pull request that will close this issue Sep 14, 2020
3 of 3 tasks complete
dylanelliott27 added a commit to dylanelliott27/node that referenced this issue Sep 14, 2020
adds type validation to options fd & opts in createWriteStream and createReadStream.

Fixes: nodejs#35178
dylanelliott27 added a commit to dylanelliott27/node that referenced this issue Sep 14, 2020
adds type validation to options fd & opts in createWriteStream and createReadStream.

Fixes: nodejs#35178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.