Skip to content

Conversation

@sedmicha
Copy link
Collaborator

Fixes issue #107

The address was improperly stored in a sockaddr type, which was then access as
a sockaddr_in6, even though sizeof(sockaddr) < sizeof(sockaddr_in6). This
resulted in stack smashing. The proper type to use that can contain all
addresses is sockaddr_storage.

Fixes issue #107
@sedmicha sedmicha merged commit 32fab99 into master Mar 19, 2025
34 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