diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-15 09:36:19 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-15 09:44:21 -0400 |
commit | 42ea38d7d06673bf6dc16ccfbd19e27f0a696b28 (patch) | |
tree | 30ac37c650b686486fc6cce9fa2d19996af6cc91 /src/sss_client | |
parent | 5802d9e5a1b83e74699b6a347e33acf3f374d191 (diff) | |
download | sssd-42ea38d7d06673bf6dc16ccfbd19e27f0a696b28.tar.gz sssd-42ea38d7d06673bf6dc16ccfbd19e27f0a696b28.tar.bz2 sssd-42ea38d7d06673bf6dc16ccfbd19e27f0a696b28.zip |
SSS_CLIENT: Fix uninitialized value error
This would cause a crash if we jump to the done: label before it
has been allocated.
Diffstat (limited to 'src/sss_client')
-rw-r--r-- | src/sss_client/pam_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c index 3cffbb2e..50c5048b 100644 --- a/src/sss_client/pam_sss.c +++ b/src/sss_client/pam_sss.c @@ -1086,7 +1086,7 @@ static int send_and_receive(pam_handle_t *pamh, struct pam_items *pi, #ifdef HAVE_SELINUX char *path = NULL; char *tmp_path = NULL; - char *services; + char *services = NULL; ssize_t written; int len; int fd; |