diff options
author | Phil Sutter <phil@nwl.cc> | 2024-01-31 14:58:17 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-02-01 14:51:30 +0100 |
commit | e7366db80740d34d2fe4ba8d12ef86a423e66280 (patch) | |
tree | 9a5a951efb7f0c438563d363376e3cfc2ffcfb07 /iptables | |
parent | 2026b08bce7fe87b5964f7912e1eef30f04922c1 (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')
0 files changed, 0 insertions, 0 deletions