s4: Call va_end() after all va_start()/va_copy() calls.
authorAndrew Kroeger <andrew@id10ts.net>
Fri, 12 Jun 2009 11:01:41 +0000 (13:01 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 Jun 2009 03:49:25 +0000 (13:49 +1000)
commit71515ba190e90e0250b9de23b7ba871c1dd44f09
tree88217cd2054ab02cbdc88aa9df620112572318e0
parentefe6552f0c1b2cf7e7f95987e7c808667166a303
s4: Call va_end() after all va_start()/va_copy() calls.

This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
examples/libsmbclient/smbwrapper/smbw.c
lib/torture/torture.c
libcli/auth/msrpc_parse.c
source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c