You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sizeof(struct sockaddr_storage) on OpenBSD is 256; however, struct sockaddr's sa_len is a uint8_t. This means that SET_SS_LEN(..., sizeof(struct sockaddr_storage)) will set sa_len to 0 e.g.
sizeof(struct sockaddr_storage)
on OpenBSD is 256; however,struct sockaddr
'ssa_len
is auint8_t
. This means thatSET_SS_LEN(..., sizeof(struct sockaddr_storage))
will setsa_len
to 0 e.g.solanum/ircd/listener.c
Line 300 in 667c106
I think the least bad option would be to take the min of the second argument and 255
The text was updated successfully, but these errors were encountered: