Re: opensmtpd: properly use getsockname and getpeername
Thanks, I've committed the fix. - todd
opensmtpd: properly use getsockname and getpeername
Hi, in src/usr.sbin/smtpd/mta_session.c 1.124 two bugs are introduced: - getsockname/getpeername are passed a struct sockaddr, too small to hold an IPv6 address. - sa_len is uninitialized. Detected thanks to -fstack-protector on Void Linux, which killed it immediately after connecting to the MT