A number of ASAN-identified fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests: iptables-test: Increase non-fast mode strictnessextensions/ extensions/ iptables-test.py | +7 | 0 replies | |
| 2/7 | nft: ruleparse: Add missing braces around ternaryiptables/ | +1 | 0 replies | |
| 3/7 | libxtables: Fix memleak of matches' udatalibxtables/ | +4 | 0 replies | |
| 4/7 | xtables-eb: Eliminate 'opts' defineiptables/ | +7 | 0 replies | |
| 5/7 | xshared: Fix for memleak in option merging with ebtablesiptables/ iptables/ libxtables/ | +24 | 0 replies | |
| 6/7 | xshared: Introduce xtables_clear_args()iptables/ iptables/ iptables/ +3 more | +14 | 0 replies | |
| 7/7 | ebtables: Fix for memleak with change counters commandiptables/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iptables PATCH 0/7] A number of ASAN-identified fixes
Many thanks to Pablo for pointing me at ASAN reporting issues with the code valgrind had missed so far. This series fixes all reports so make check passes also when compiled with -fsanitize=address.
Patch 1 is not quite related but rather a shortcoming in iptables-test.py I decided to fix while being at it.
The remaining patches are actual fixes apart from patch 4 which pulls out unrelated (but sensible) changes from patch 5.
Phil Sutter (7):
tests: iptables-test: Increase non-fast mode strictness
nft: ruleparse: Add missing braces around ternary
libxtables: Fix memleak of matches' udata
xtables-eb: Eliminate 'opts' define
xshared: Fix for memleak in option merging with ebtables
xshared: Introduce xtables_clear_args()
ebtables: Fix for memleak with change counters command
extensions/libxt_NFLOG.t | 2 +- extensions/libxt_TCPMSS.t | 2 +- iptables-test.py | 6 +++++- iptables/ip6tables.c | 5 +---- iptables/iptables.c | 5 +---- iptables/nft-cmd.c | 1 + iptables/nft-ruleparse.c | 2 +- iptables/xshared.c | 20 +++++++++++++++++--- iptables/xshared.h | 2 ++ iptables/xtables-eb.c | 29 +++++++++++++++++------------ iptables/xtables-translate.c | 12 +----------- iptables/xtables.c | 5 +---- libxtables/xtables.c | 10 ++++++---- 13 files changed, 55 insertions(+), 46 deletions(-)
Signature · 1 line
2.43.0