freebsd-nq/usr.sbin/ypldap
Conrad Meyer 446bb222fb ypldap(8): Fix absent va_end() in 'goto fail' path
In this path, we used va_start() without pairing it with va_end().  Add the
va_end().  (va_start() without paired va_end() is undefined behavior per the C
standard.)

"In many implementations, [va_end] is a do-nothing operation; but those
implementations that need it probably need it badly." - Rationale for the ANSI
C Programming Language, § 4.8.1.3.

Reported by:	Coverity
CID:		1340539
2020-01-29 05:59:22 +00:00
..
aldap.c
aldap.h
ber.c ypldap(8): Fix absent va_end() in 'goto fail' path 2020-01-29 05:59:22 +00:00
ber.h
entries.c Log when we have finished pushing users and groups. 2017-08-01 05:26:20 +00:00
ldapclient.c
log.c
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
parse.y
yp.c Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypldap_dns.c
ypldap.8
ypldap.c
ypldap.conf.5
ypldap.h