Skip to content

Trim trailing NULLs#7

Open
scottharman wants to merge 3 commits into
rqx110:masterfrom
scottharman:master
Open

Trim trailing NULLs#7
scottharman wants to merge 3 commits into
rqx110:masterfrom
scottharman:master

Conversation

@scottharman

Copy link
Copy Markdown

A certain broadcast equipment manufacturers has started packing OctetStrings with NULLs to the full length of the packet, leading to decode errors. This removes trailing NULLs from the input buffer and recalculates the offset if required.
I will leave a single trailing null if needed

check my buffer length
Cope with NULL packing by certain vendors
Recalculate offsets in case of excessive NULL packing
Leave trailing NULL for empty return value
Prepare to deploy to atos bitbucket
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