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

Set range of lengths to parsed, not string, values #1073

Merged
merged 1 commit into from
Mar 12, 2018

Conversation

mstemm
Copy link
Contributor

@mstemm mstemm commented Mar 8, 2018

When parsing values for a filtercheck, set the range of lengths using
the parsed values (e.g. 2 bytes for a port "2222") instead of the length
of the string (4 bytes for the string "2222").

This fixes #1072.

When parsing values for a filtercheck, set the range of lengths using
the parsed values (e.g. 2 bytes for a port "2222") instead of the length
of the string (4 bytes for the string "2222").

This fixes #1072.
@mstemm mstemm requested a review from mattpag March 8, 2018 23:48
Copy link
Contributor

@mattpag mattpag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, nice catch!

@mstemm mstemm merged commit 752e81b into dev Mar 12, 2018
@mstemm mstemm deleted the fix-parsed-length-ranges branch March 12, 2018 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

in (a, b, c, d) operator doesn't work on all 4 digit ports
2 participants