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

fixup: encrypted message data length check #33

Merged
merged 2 commits into from
Oct 12, 2023
Merged

fixup: encrypted message data length check #33

merged 2 commits into from
Oct 12, 2023

Conversation

ssp-rs
Copy link
Collaborator

@ssp-rs ssp-rs commented Oct 12, 2023

Prevents a panic by taking the minimum of the set data length and len::MAX_ENCRYPTED_DATA. Some device-sent messages may be sent when encrypted mode is enabled, but are not actually well-formatted encrypted messages.

Bumps the patch release version to include the fixes for encrypted message data length check.

Prevents a panic by taking the minimum of the set data length and
`len::MAX_ENCRYPTED_DATA`. Some device-sent messages may be sent
when encrypted mode is enabled, but are not actually well-formatted
encrypted messages.

Minor `clippy` fix.
Bumps the patch release version to include the fixes for encrypted
message data length check.
@ssp-rs ssp-rs merged commit 078c5e9 into main Oct 12, 2023
18 checks passed
@ssp-rs ssp-rs deleted the fixup/encrypted branch October 12, 2023 21:24
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.

1 participant