Skip to content

dgram: tighten address validation in socket.send#39190

Closed
VoltrexKeyva wants to merge 3 commits intonodejs:masterfrom
VoltrexKeyva:patch-6
Closed

dgram: tighten address validation in socket.send#39190
VoltrexKeyva wants to merge 3 commits intonodejs:masterfrom
VoltrexKeyva:patch-6

Conversation

@VoltrexKeyva
Copy link
Member

@VoltrexKeyva VoltrexKeyva commented Jun 29, 2021

We don't mention a value being "falsy" in validation, its
better to use a validator here to keep consistency,
this change makes the address parameter only
accept a string, null or undefined.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. dgram Issues and PRs related to the dgram subsystem / UDP. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants