nss-pam-ldapd commit: r1729 - in nss-pam-ldapd-0.7: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1729 - in nss-pam-ldapd-0.7: . 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: r1729 - in nss-pam-ldapd-0.7: . nslcd
- Date: Mon, 23 Jul 2012 23:13:27 +0200 (CEST)
Author: arthur
Date: Mon Jul 23 23:13:27 2012
New Revision: 1729
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1729&view=revision
Log:
do not leak memory if myldap_escape() fails (r1590 from 0.8)
Modified:
nss-pam-ldapd-0.7/ (props changed)
nss-pam-ldapd-0.7/nslcd/pam.c
Modified: nss-pam-ldapd-0.7/nslcd/pam.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/pam.c Mon Jul 23 23:11:30 2012 (r1728)
+++ nss-pam-ldapd-0.7/nslcd/pam.c Mon Jul 23 23:13:27 2012 (r1729)
@@ -198,6 +198,7 @@
if(myldap_escape(value,escaped_value,sz))
{
log_log(LOG_CRIT,"autzsearch_var_add(): myldap_escape() failed to fit in
buffer");
+ free(escaped_value);
return;
}
/* add to dict */
--
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: r1729 - in nss-pam-ldapd-0.7: . nslcd,
Commits of the nss-pam-ldapd project