Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Thank you.
sys/netinet/tcp_usrreq.c | ||
---|---|---|
329 | I would just check nam->sa_len != sizeof(*sinp) since we perform that exact check again below. This is ok though. |
sys/netinet/tcp_usrreq.c | ||
---|---|---|
329 | I was considering that or even just do the check for sa_len before the check for sa_family. I decided to do it this way to report EINVAL if sa_len is not correct as often as possible. |