diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-07 15:05:13 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-14 17:45:19 +0100 |
commit | 84bff29a918e543823e1aefce3dde5e66a45e286 (patch) | |
tree | 02dfed3432a1a583fa7e553516fd8d6afbb2152e /src/providers/ldap | |
parent | 2aaea001cbab63a47b314750235dc7f5347064be (diff) | |
download | sssd-84bff29a918e543823e1aefce3dde5e66a45e286.tar.gz sssd-84bff29a918e543823e1aefce3dde5e66a45e286.tar.xz sssd-84bff29a918e543823e1aefce3dde5e66a45e286.zip |
SUDO: strdup the input variable1.9.2-42
https://fedorahosted.org/sssd/ticket/1701
Diffstat (limited to 'src/providers/ldap')
-rw-r--r-- | src/providers/ldap/sdap_sudo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c index 82c8e9374..0ff5a432c 100644 --- a/src/providers/ldap/sdap_sudo.c +++ b/src/providers/ldap/sdap_sudo.c @@ -415,7 +415,7 @@ static char *sdap_sudo_get_filter(TALLOC_CTX *mem_ctx, char *filter = NULL; if (!sudo_ctx->use_host_filter) { - return talloc_strdup(mem_ctx, filter); + return talloc_strdup(mem_ctx, rule_filter); } tmp_ctx = talloc_new(NULL); |