-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
good first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia
Description
Could probably be an error instead?
sock.handle is a null pointer here
julia/stdlib/Sockets/src/Sockets.jl
Line 817 in 5dbf45a
| sock.handle, rport, raddress, rfamily) |
julia/stdlib/Sockets/src/Sockets.jl
Line 821 in 5dbf45a
| sock.handle, rport, raddress, rfamily) |
Would peer = isopen(sock) ? getpeername(sock) : nothing be a safe alternative to avoid this segfault (or error if this issue is fixed)?
Metadata
Metadata
Assignees
Labels
good first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia