Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket: fix potential memory leak in connect() #200

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

jow-
Copy link
Owner

@jow- jow- commented May 13, 2024

If a non-string value which cannot be interpreted as socket address structure is passed to connect(), the function will leak the internal address vector when returning the error.

If a non-string value which cannot be interpreted as socket address
structure is passed to connect(), the function will leak the internal
address vector when returning the error.

Signed-off-by: Jo-Philipp Wich <[email protected]>
@jow- jow- merged commit ecc6947 into master May 14, 2024
7 checks passed
@jow- jow- deleted the socket-leak-fix branch May 14, 2024 06:53
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