Skip to content

Conversation

@xchacha20-poly1305
Copy link
Contributor

No description provided.

Copy link
Member

@nekohasekai nekohasekai left a comment

Choose a reason for hiding this comment

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

LGTM. reflect.Type.Len() returns array length, not byte size, and panics on non-array types. reflect.Type.Size() is the correct method here.

@nekohasekai nekohasekai merged commit ad7d754 into SagerNet:dev Jan 19, 2026
6 of 7 checks passed
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