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

[fixes] while validating for offset, check for offset's value for NaN instead length #2124

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

mbauskar
Copy link
Contributor

@mbauskar mbauskar commented Aug 9, 2020

@reconbot,

in read method we have checked the type of offset, but while checking if the value NaN we have checked for the value of length instead of offset

@reconbot
Copy link
Member

beautiful, thank you

@reconbot reconbot merged commit 4215122 into serialport:master Aug 11, 2020
lvogt pushed a commit to lvogt/node-serialport that referenced this pull request Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants