Skip to content

fix: Validate key length on assignment in decodeStruct#162

Merged
kalamay merged 1 commit intosegmentio:masterfrom
maciej-kisiel:fix-unicode-zero
Mar 10, 2026
Merged

fix: Validate key length on assignment in decodeStruct#162
kalamay merged 1 commit intosegmentio:masterfrom
maciej-kisiel:fix-unicode-zero

Conversation

@maciej-kisiel
Copy link
Contributor

The change will fix mitigate the issue caused by zero padding described in the linked issue.

Fixes #161

Copy link
Contributor

@kalamay kalamay left a comment

Choose a reason for hiding this comment

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

Hi @maciej-kisiel, thanks for finding this and reaching out with a fix. I'm looking at it now, and everything looks correct.

@kalamay kalamay merged commit 7d5a25d into segmentio:master Mar 10, 2026
9 checks passed
@maciej-kisiel maciej-kisiel deleted the fix-unicode-zero branch March 12, 2026 13:30
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.

Strict key matching ignore Unicode zero characters

2 participants