diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2010-06-07 10:42:05 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-06-09 08:29:47 -0400 |
commit | be3cb9b976bd994b2cd6e0217e41892f46d174dd (patch) | |
tree | a79fcd1f09c3330609dbdcffce14f4a5a5ad63bf | |
parent | f73b63be8337400ef9e9c73854e0068113faecf3 (diff) | |
download | sssd_unused-be3cb9b976bd994b2cd6e0217e41892f46d174dd.tar.gz sssd_unused-be3cb9b976bd994b2cd6e0217e41892f46d174dd.tar.xz sssd_unused-be3cb9b976bd994b2cd6e0217e41892f46d174dd.zip |
Fix realm_str dereference
Fixes: #508
-rw-r--r-- | src/providers/ldap/sdap_child_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c index b45e4eae..724de28d 100644 --- a/src/providers/ldap/sdap_child_helpers.c +++ b/src/providers/ldap/sdap_child_helpers.c @@ -190,7 +190,7 @@ static errno_t create_tgt_req_send_buffer(TALLOC_CTX *mem_ctx, /* keytab */ if (keytab_name) { SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(keytab_name), &rp); - safealign_memcpy(&buf->data[rp], keytab_name, strlen(realm_str), &rp); + safealign_memcpy(&buf->data[rp], keytab_name, strlen(keytab_name), &rp); } else { SAFEALIGN_SET_UINT32(&buf->data[rp], 0, &rp); } |