Skip to content

Ensure messages from packets are expected length and discard otherwis…#339

Merged
m4gr3d merged 3 commits into
developfrom
fix_tlv_packet_issues
Nov 11, 2015
Merged

Ensure messages from packets are expected length and discard otherwis…#339
m4gr3d merged 3 commits into
developfrom
fix_tlv_packet_issues

Conversation

@chaviw

@chaviw chaviw commented Nov 11, 2015

Copy link
Copy Markdown

…e. Discard unknown message types

@chaviw chaviw assigned chaviw and m4gr3d and unassigned chaviw Nov 11, 2015

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@chaviw stores packetBuffer.remaining() into a variable since it's used more than once.

m4gr3d added a commit that referenced this pull request Nov 11, 2015
Ensure messages from packets are expected length and discard otherwis…
@m4gr3d
m4gr3d merged commit 59e35e8 into develop Nov 11, 2015
@m4gr3d
m4gr3d deleted the fix_tlv_packet_issues branch November 11, 2015 11:07
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.

2 participants