summaryrefslogtreecommitdiffstats
path: root/src
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
parent37f3536a37f3c620d6e06a32800996137a4de8e4 (diff)
downloadsssd_unused-a777a485bf73be24404fe3094c3688e604d8cbf8.tar.gz
sssd_unused-a777a485bf73be24404fe3094c3688e604d8cbf8.tar.xz
sssd_unused-a777a485bf73be24404fe3094c3688e604d8cbf8.zip
Initialize pam_data in Kerberos child.
Diffstat (limited to 'src')
-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);