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

/freebsd-10-stable/contrib/bsnmp/lib/
H A Dsnmp.cdiff 311603 Sat Jan 07 09:25:25 MST 2017 ngie MFC r310501:

Be more strict about IpAddress type in snmp_value_parse(..)

- Use inet_pton with AF_INET instead of doing longhand with sscanf.
- Use gethostbyname2 with AF_INET to ensure that the hostname isn't
accidentally parsed with another address family, e.g. AF_INET6.

NB: IpAddress per RFC-2578 is IPv4 only. Work is in progress to add
the InetAddress type and friends documented in RFC-4001 and
elsewhere (which supports IPv4, IPv6, and more).
/freebsd-10-stable/sys/amd64/include/
H A Ddb_machdep.hdiff 2578 Thu Sep 08 09:49:04 MDT 1994 bde Remove <machine/eflags.h> and all dependencies on it. eflags.h is just
the Mach/i386 version of the BSD/vax(?) <machine/psl.h>. The Mach
version has slightly better names for many macros but is now out of
date and little used. It was originally used even less (for spelling
PSL_T as EFL_TF in <machine/db_machdep.h>).
/freebsd-10-stable/sys/i386/include/
H A Ddb_machdep.hdiff 2578 Thu Sep 08 09:49:04 MDT 1994 bde Remove <machine/eflags.h> and all dependencies on it. eflags.h is just
the Mach/i386 version of the BSD/vax(?) <machine/psl.h>. The Mach
version has slightly better names for many macros but is now out of
date and little used. It was originally used even less (for spelling
PSL_T as EFL_TF in <machine/db_machdep.h>).
/freebsd-10-stable/sbin/ping/
H A Dping.cdiff 23327 Mon Mar 03 07:50:21 MST 1997 imp Check the size of the IP address reutrned from gethostbyname2, per PR
2578 from Julian A. Likely not strictly needed, but it doesn't hurt
and protects ping against possible buffer overflows if the resolver
were to return large IP addresses.

Completed in 168 milliseconds