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:34 -0400 |
commit | 711fc7d00135cb5fb202efe1a0b77c61b4f2c099 (patch) | |
tree | 34ef8b3966a94d456eeae39fc1640b890a5cb1ed /src | |
parent | 5af623e54c7350dca4e14c0236f04432bd61ea39 (diff) | |
download | sssd-711fc7d00135cb5fb202efe1a0b77c61b4f2c099.tar.gz sssd-711fc7d00135cb5fb202efe1a0b77c61b4f2c099.tar.xz sssd-711fc7d00135cb5fb202efe1a0b77c61b4f2c099.zip |
Fix realm_str dereference
Fixes: #508
Diffstat (limited to 'src')
-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 b45e4eae5..724de28da 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); } |