summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-01-31 14:58:17 +0100
committerPhil Sutter <phil@nwl.cc>2024-02-01 14:51:30 +0100
commite7366db80740d34d2fe4ba8d12ef86a423e66280 (patch)
tree9a5a951efb7f0c438563d363376e3cfc2ffcfb07 /iptables/xshared.c
parent2026b08bce7fe87b5964f7912e1eef30f04922c1 (diff)
libxtables: Fix memleak of matches' udata
If the extension specifies a non-zero udata_size, field 'udata' points to an allocated buffer which needs to be freed upon extension deinit. Interestingly, this bug was identified by ASAN and missed by valgrind. Fixes: 2dba676b68ef8 ("extensions: support for per-extension instance "global" variable space") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.c')
0 files changed, 0 insertions, 0 deletions