diff options
author | Tetsuo Handa <[email protected]> | 2017-03-24 20:42:05 +0900 |
---|---|---|
committer | Casey Schaufler <[email protected]> | 2017-04-04 15:41:15 -0700 |
commit | c3c8dc9f13e2e13013822ee54a529a6fe284f1e1 (patch) | |
tree | 77e0bfea1ec966eb0952765574b3b1fa56ecb84e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e4e55b47ed9ae2c05ff062601ff6dacbe9dc4775 (diff) |
smack: fix double free in smack_parse_opts_str()
smack_parse_opts_str() calls kfree(opts->mnt_opts) when kcalloc() for
opts->mnt_opts_flags failed. But it should not have called it because
security_free_mnt_opts() will call kfree(opts->mnt_opts).
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
fixes: 3bf2789cad9e6573 ("smack: allow mount opts setting over filesystems with binary mount data")
Cc: Vivek Trivedi <[email protected]>
Cc: Amit Sahrawat <[email protected]>
Cc: Casey Schaufler <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions