diff options
author | Michal Sekletar <msekleta@redhat.com> | 2014-10-13 15:25:09 +0200 |
---|---|---|
committer | Michal Sekletar <msekleta@redhat.com> | 2014-10-15 10:58:27 +0200 |
commit | 5e78424f4a27c07be50e246308035c877f204038 (patch) | |
tree | 3b0919de1031075f4aa6dcf08e3cd05fa80415e9 /man/systemd.swap.xml | |
parent | 3e883473a0f36c220fc45ecf61d6878c9ac308b4 (diff) |
selinux: fix potential double free crash in child process
Before returning from function we should reset ret to NULL, thus cleanup
function is nop.
Also context_str() returns pointer to a string containing context but not a
copy, hence we must make copy it explicitly.
Diffstat (limited to 'man/systemd.swap.xml')
0 files changed, 0 insertions, 0 deletions