Skip to content

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

Merged
jow- merged 1 commit into
masterfrom
socket-leak-fix
May 14, 2024
Merged

socket: fix potential memory leak in connect()#200
jow- merged 1 commit into
masterfrom
socket-leak-fix

Conversation

@jow-

@jow- jow- commented May 13, 2024

Copy link
Copy Markdown
Owner

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 <jo@mein.io>
@jow- jow- merged commit ecc6947 into master May 14, 2024
@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