Searched hist:312059 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/contrib/bsnmp/snmpd/
H A Dtrans_lsock.cdiff 312059 Fri Jan 13 09:22:55 MST 2017 ngie MFC r311381:

lsock_init_port: address issues with initializing sockaddr_un object

- Use strlcpy to ensure p->name doesn't overflow sa.sun_path [*].
- Use SUN_LEN(..) instead of spelling out calculation longhand (inspired
by comment by jmallett).

Tested with: dgram and stream support with both bsnmpwalk and snmpwalk

CID: 1006825

Completed in 105 milliseconds