History log of /openbsd/lib/libc/rpc/clnt_perror.c (Results 1 – 25 of 25)
Revision Date Author Comments
# 515e489c 03-Jul-2019 deraadt <deraadt@openbsd.org>

snprintf/vsnprintf return < 0 on error, rather than -1.


# 85858ec2 13-Sep-2015 guenther <guenther@openbsd.org>

Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>

ok deraadt@


# cb7760d1 01-Sep-2010 millert <millert@openbsd.org>

Oracle has re-licensed sunrpc under a three-clause BSD license.
Update our sources appropriately. OK deraadt@ jsg@


# bdea1209 03-Jun-2009 schwarze <schwarze@openbsd.org>

Don't postpone memory allocation for the error message to the error handler:
That way, memory exhaustion simply cannot be reported because it would
require to... allocate memory.
Instead, really use

Don't postpone memory allocation for the error message to the error handler:
That way, memory exhaustion simply cannot be reported because it would
require to... allocate memory.
Instead, really use a statical buffer as it is advertised in the manual.
"looks good" millert@

show more ...


# efc9a8a5 01-Jun-2009 schwarze <schwarze@openbsd.org>

When an RPC client program encounters ENOMEM while trying to print
an error message, rather skip the error message than dereferencing
a NULL pointer.
debugging help and ok kjell@


# 0446f83c 12-Sep-2007 moritz <moritz@openbsd.org>

Remove wrong snprintf(3) truncation checks, which can't be
triggered and are off-by-one anyways. Instead replace them
with correct checks and add all the missing cases.

ok deraadt@


# e7ce0625 17-Sep-2006 thib <thib@openbsd.org>

dont put two '\n' at the end of the string returnd by clnt_sperror()

ok deraadt@


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# 704fb109 11-Apr-2005 deraadt <deraadt@openbsd.org>

more snprintf return value sloppiness; ok otto


# 384ec30a 01-Apr-2005 otto <otto@openbsd.org>

ansify. ok deraadt@ jaredy@


# d073182f 10-Sep-2002 deraadt <deraadt@openbsd.org>

remove extra output of \n in clnt_perror()


# 9414dd03 29-May-2002 deraadt <deraadt@openbsd.org>

strlcat bounds


# 41aa8645 15-Sep-2001 deraadt <deraadt@openbsd.org>

prototype cleanup


# b22e4ab8 18-Aug-2001 deraadt <deraadt@openbsd.org>

be more careful with snprintf; millert ok


# f590e579 03-Mar-2001 deraadt <deraadt@openbsd.org>

plug many memory leaks


# b3c3aa35 30-Dec-1998 deraadt <deraadt@openbsd.org>

append \n correctly


# 01e18b62 22-Nov-1998 deraadt <deraadt@openbsd.org>

detect truncation and overflow better


# 33f3effb 10-Feb-1997 millert <millert@openbsd.org>

Make printf's match actual type (%lu -> %u).


# e077e78c 09-Feb-1997 deraadt <deraadt@openbsd.org>

do not print extra \n


# db7c5d7c 21-Jan-1997 millert <millert@openbsd.org>

More sprintf -> snprintf.


# f3e7f52c 19-Dec-1996 deraadt <deraadt@openbsd.org>

avoid oflows, thanks also to todd


# c8f91e0d 15-Sep-1996 tholo <tholo@openbsd.org>

Remove dead code
Remove unused variables
Silence some warnings
lint(1) is your friend


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

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


# 73b69cd9 20-Jul-1996 deraadt <deraadt@openbsd.org>

bcopy->memcpy & tag


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

initial import of NetBSD tree