diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-02 22:11:59 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-03 18:29:50 +0200 |
commit | ac93a2d27415abd730aa1063b1689def8be9dbe9 (patch) | |
tree | 46d388de08a91d8333763bdb761dc0f2641b6eb4 /src/tools/sss_groupadd.c | |
parent | c410cb395e5999dc90b5e228a02990bcdd0f22ab (diff) | |
download | sssd-ac93a2d27415abd730aa1063b1689def8be9dbe9.tar.gz sssd-ac93a2d27415abd730aa1063b1689def8be9dbe9.tar.xz sssd-ac93a2d27415abd730aa1063b1689def8be9dbe9.zip |
IPA: Fix SELinux mapping order memory hierarchy
https://fedorahosted.org/sssd/ticket/2300
The list of SELinux mapping orders was allocated on tmp_ctx and parsed
into an array. The array itself was correctly allocated on mem_ctx but
its contents remained on tmp_ctx, leading to a use-after-free error.
This patch fixes the memory hierarchy so that both the array and its
contents are allocated on mem_ctx.
(cherry picked from commit 355b8a655cfcc4e783077d12f76b55da1d23fb87)
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/tools/sss_groupadd.c')
0 files changed, 0 insertions, 0 deletions