History log of /openbsd-src/lib/libc/net/getprotoent.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 06201dd4 14-Sep-2015 guenther <guenther@openbsd.org>

Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak


# 804909e4 11-Oct-2014 doug <doug@openbsd.org>

Userland reallocarray() audit.

Avoid potential integer overflow in the size argument of malloc() and
realloc() by using reallocarray() to avoid unchecked multiplication.

ok deraadt@


# 241db059 15-Sep-2014 guenther <guenther@openbsd.org>

When fopen()ing internal to libc (the API doesn't support the use
of the resulting FILE *), then pass fopen() the 'e' mode letter to
mark it close-on-exec.

ok miod@


# 1ed98fdf 02-Sep-2007 deraadt <deraadt@openbsd.org>

use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg


# 54c26093 17-Jan-2006 millert <millert@openbsd.org>

Include limits.h directly instead of depending on another header
to include it for us.


# 0038de2c 06-Aug-2005 espie <espie@openbsd.org>

zap rcsid.
split functions off res_debug.c so that getnetnamadr.c does not pull it
all when it's used.

okay deraadt@, krw@


# e3a1e9bf 25-Oct-2004 millert <millert@openbsd.org>

Change return value of reentrant getproto* and getserv* to match the
IBM/Digital API.


# 71a18e7f 17-Oct-2004 millert <millert@openbsd.org>

Reentrant versions of getprotoent(3) and getservent(3). Adapted from
changes in NetBSD by Christos. OK otto@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# cd9486a8 03-Sep-1999 millert <millert@openbsd.org>

Use strtol() and strtoul() instead of atoi(). This allows us to catch
errors reasonably and deal correctly with unsigned quantities.


# aff2b1e4 16-Mar-1998 millert <millert@openbsd.org>

Use fgetln(3) instead of fgets(3) so we can easily recognize lines
that are too long and ignore them instead of corrupting later entries.


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree