parseArgs accepts a port of NaN #1

Open
ggoodman opened this Issue Mar 31, 2011 · 0 comments

Comments

Projects
None yet
1 participant

A check should be added to line #233 to ensure that invalid ports are not assigned to the socket in dnode. Took me a while to track this down, but for whatever reason I was trying to connect to port NaN. Unfortunately, in js, typeof NaN === 'number'.

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