jow- / ucode

JavaScript-like language with optional templating
ISC License
87 stars 24 forks source link

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

Closed jow- closed 1 month ago

jow- commented 1 month ago

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.