s3: Call va_end() after all va_start()/va_copy() calls.
authorAndrew Kroeger <andrew@id10ts.net>
Thu, 11 Jun 2009 07:15:28 +0000 (02:15 -0500)
committerVolker Lendecke <vl@samba.org>
Fri, 12 Jun 2009 08:29:37 +0000 (10:29 +0200)
commit6c5c99130462ecddb449e99138c88930003325a3
tree5349bba1ad99cc609da76296d568da7cada27264
parentff4acca13aa53865182bd26715c92e45f6e8f861
s3: Call va_end() after all va_start()/va_copy() calls.

There are error paths in S3 where va_end() is not properly called after
va_start() or va_copy() have been called.

These issues were noted while performing an inspection for S4 bug #6129.  Thanks
to Erik Hovland <erik@hovland.org> for the original bug report.
source3/lib/ldb/common/ldb_dn.c
source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
source3/lib/util.c