The Wayback Machine - https://web.archive.org/web/20201129105513/https://github.com/nodejs/node/issues/35178
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 · 4 comments · May be fixed by #35187
Open

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

ronag opened this issue Sep 13, 2020 · 4 comments · 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 dylanelliott27 linked a pull request that will close this issue Sep 14, 2020
3 of 3 tasks complete
@dsuarezlogans
Copy link

@dsuarezlogans dsuarezlogans commented Oct 1, 2020

Hello I would like to help with this issue, but I don't completely understand what is required and where to do the work, can you please point me on the right direction please? 🙏

@abhinavjonnada82
Copy link

@abhinavjonnada82 abhinavjonnada82 commented Oct 2, 2020

Can I get this with some instructions, please?

@Vboivin
Copy link
Contributor

@Vboivin Vboivin commented Oct 2, 2020

@dsuarezlogans @abhinavjonnada82 There is already a pull request that could potentially close this issue.
You can take a look at other good first issues for your first contribution to nodejs!

If there is a pull request attached to the issue you are looking at, I would suggest looking at another one to not conflict with the developer who is already working on it.

After finding the first issue you want to work on, you should read this document.

dylanelliott27 added a commit to dylanelliott27/node that referenced this issue Nov 10, 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.

4 participants
You can’t perform that action at this time.