commit | 77c1c03c5b8ef28e55bb0aff29b1e006037ca645 | [log] [tgz] |
---|---|---|
author | Liping Zhang <zlpnobody@gmail.com> | Tue Mar 28 22:59:25 2017 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Mar 29 12:20:50 2017 +0200 |
tree | abc13caee4c20c8c6e885624986158358d362898 | |
parent | 75c689dca98851d65ef5a27e5ce26b625b68751c [diff] |
netfilter: nfnetlink_queue: fix secctx memory leak We must call security_release_secctx to free the memory returned by security_secid_to_secctx, otherwise memory may be leaked forever. Fixes: ef493bd930ae ("netfilter: nfnetlink_queue: add security context information") Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>