diff options
author | Carlos Falgueras García <carlosfg@riseup.net> | 2016-05-17 18:00:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-25 10:34:47 +0200 |
commit | 8979727084d90e6061c8d0f562f8f12e784a657d (patch) | |
tree | 94786a184e6119e2f94692b0c43e5f504abaaac8 /src/evaluate.c | |
parent | 4ca26afeef12c59128ffde8505207847037ce365 (diff) |
netlink_linearize: do not duplicate user data when linearizing user data
Otherwise, we memory leak this area since nftnl_rule_set_data() now
makes a copy of the user data which receives. This is happening since
libnftnl's ("rule: Fix segfault due to invalid free of rule user data"),
it is not necessary make a copy before call it.
Note: Carlos originally posted this patch under the name of ("nftables:
Fix memory leak linearizing user data").
Signed-off-by: Carlos Falgueras García <carlosfg@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/evaluate.c')
0 files changed, 0 insertions, 0 deletions