summaryrefslogtreecommitdiffstats
path: root/pki/base/tps
diff options
context:
space:
mode:
authorjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-03-01 01:33:28 +0000
committerjmagne <jmagne@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2011-03-01 01:33:28 +0000
commit66ea690d436b0a59d81300fce53fee2c18ab8b4e (patch)
tree46991e78134e1ea3bcc356a113b339639a09f156 /pki/base/tps
parent23d17444dd634f4d647dceb067e11230fda60540 (diff)
downloadpki-66ea690d436b0a59d81300fce53fee2c18ab8b4e.tar.gz
pki-66ea690d436b0a59d81300fce53fee2c18ab8b4e.tar.xz
pki-66ea690d436b0a59d81300fce53fee2c18ab8b4e.zip
Fix Bugzilla Bug 681066 - TPS authentication crash when exercising audit log message.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1873 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/tps')
-rw-r--r--pki/base/tps/src/authentication/LDAP_Authentication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/tps/src/authentication/LDAP_Authentication.cpp b/pki/base/tps/src/authentication/LDAP_Authentication.cpp
index 651557fa7..3e073dfff 100644
--- a/pki/base/tps/src/authentication/LDAP_Authentication.cpp
+++ b/pki/base/tps/src/authentication/LDAP_Authentication.cpp
@@ -160,7 +160,7 @@ int LDAP_Authentication::Authenticate(AuthParams *params)
LDAP *ld = NULL;
int status = TPS_AUTH_ERROR_LDAP;
int version = LDAP_VERSION3;
- LDAPMessage *result, *e;
+ LDAPMessage *result = NULL, *e = NULL;
char *dn = NULL;
char *uid = NULL;
char *password = NULL;