summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-06-03 12:11:24 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-06 13:38:19 -0400
commita777a485bf73be24404fe3094c3688e604d8cbf8 (patch)
treefcf3f6fee0e0fb7de847d7901b597f91e20a37a1 /src/providers/krb5
parent37f3536a37f3c620d6e06a32800996137a4de8e4 (diff)
downloadsssd-a777a485bf73be24404fe3094c3688e604d8cbf8.tar.gz
sssd-a777a485bf73be24404fe3094c3688e604d8cbf8.tar.bz2
sssd-a777a485bf73be24404fe3094c3688e604d8cbf8.zip
Initialize pam_data in Kerberos child.
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index 7249aeba..fea1e566 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -1004,7 +1004,7 @@ int main(int argc, const char *argv[])
DEBUG(7, ("krb5_child started.\n"));
- pd = talloc(NULL, struct pam_data);
+ pd = talloc_zero(NULL, struct pam_data);
if (pd == NULL) {
DEBUG(1, ("malloc failed.\n"));
_exit(-1);