netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iptables PATCH 0/7] A number of ASAN-identified fixes
@ 2024-02-01 13:50 Phil Sutter
  2024-02-01 13:50 ` [iptables PATCH 1/7] tests: iptables-test: Increase non-fast mode strictness Phil Sutter
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Phil Sutter @ 2024-02-01 13:50 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Pablo Neira Ayuso

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-02-06 23:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 13:50 [iptables PATCH 0/7] A number of ASAN-identified fixes Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 1/7] tests: iptables-test: Increase non-fast mode strictness Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 2/7] nft: ruleparse: Add missing braces around ternary Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 3/7] libxtables: Fix memleak of matches' udata Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 4/7] xtables-eb: Eliminate 'opts' define Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 5/7] xshared: Fix for memleak in option merging with ebtables Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 6/7] xshared: Introduce xtables_clear_args() Phil Sutter
2024-02-01 13:50 ` [iptables PATCH 7/7] ebtables: Fix for memleak with change counters command Phil Sutter
2024-02-06 23:15 ` [iptables PATCH 0/7] A number of ASAN-identified fixes Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).