Skip to content

Conversation

@haydencarroll-NS1
Copy link

Slight changes and bug fixes in hope of fixing crash errors in dns01.ord03.mnet2 stripe agents
Return 0 instead of encodedNameLength for a simpler more robust error handling process
Some clearer logging

Copy link
Member

@fformica fformica left a comment

Choose a reason for hiding this comment

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

I'd like to log the result to see if the name is just corrupted or we followed a bad pointer or something, but if it is corrupted it may be random data as well, so perhaps less risky to drop it completely.
All in all I'm satisfied that with this PR good names should be decoded and zero-terminated and bad names won't cause a crash.

@haydencarroll-NS1 haydencarroll-NS1 merged commit 4af0d21 into develop Mar 10, 2025
30 checks passed
@haydencarroll-NS1 haydencarroll-NS1 deleted the fix-decodeName branch March 10, 2025 14:23
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