-
-
Notifications
You must be signed in to change notification settings - Fork 17
Fix check for max values inclusive for ssid and password #337
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
Fix check for max values inclusive for ssid and password #337
Conversation
changes: - throwing argument out of range exception when ssid is greater than 32 characters - throwing argument out of range exception when password is greater than 64 characters
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@dotnet-policy-service agree |
josesimoes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for fixing it.
|
@BoBoBaSs84 thank you again for your contribution! 🙏😄 .NET nanoFramework is all about community involvement, and no contribution is too small. Please edit it and add an entry with your GitHub username in the appropriate location (names are sorted alphabetically): (Feel free to adjust your name if it's not correct) |
Description
Validation of the wireless configuration fails if either the SSID is 32 characters long or the password is 64 characters long. By definition, however, these may have these respective lengths.
changes:
ArgumentOutOfRangeExceptiononly when theSSIDlength is greater than 32 characters.ArgumentOutOfRangeExceptiononly when thePASSWORDis greater than 64 characters.Backed up on the native side here:
https://github.com/nanoframework/nf-interpreter/blob/main/src/HAL/Include/nanoHAL_Network.h#L268
and here:
https://github.com/nanoframework/nf-interpreter/blob/main/src/HAL/Include/nanoHAL_Network.h#L271
Motivation and Context
I did not raise an issue.
How Has This Been Tested?
See the discussion:
https://github.com/orgs/nanoframework/discussions/1594#discussioncomment-11946872
Screenshots
Types of changes
Checklist: