nss-pam-ldapd commit: r1594 - nss-pam-ldapd/nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1594 - nss-pam-ldapd/nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1594 - nss-pam-ldapd/nslcd
- Date: Mon, 9 Jan 2012 13:15:10 +0100 (CET)
Author: jhrozek
Date: Mon Jan 9 13:15:09 2012
New Revision: 1594
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1594&view=revision
Log:
Add a matching va_end() for va_start() in mysnprintf()
Modified:
nss-pam-ldapd/nslcd/common.c
Modified: nss-pam-ldapd/nslcd/common.c
==============================================================================
--- nss-pam-ldapd/nslcd/common.c Mon Jan 9 13:11:29 2012 (r1593)
+++ nss-pam-ldapd/nslcd/common.c Mon Jan 9 13:15:09 2012 (r1594)
@@ -51,6 +51,7 @@
/* do snprintf */
va_start(ap,format);
res=vsnprintf(buffer,buflen,format,ap);
+ va_end(ap);
/* NULL-terminate the string just to be on the safe side */
buffer[buflen-1]='\0';
/* check if the string was completely written */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1594 - nss-pam-ldapd/nslcd,
Commits of the nss-pam-ldapd project