[IPTABLES PATCH] Fix leak in merge_opts

Harald Welte laforge at netfilter.org
Sun May 29 20:55:17 CEST 2005


On Sat, May 07, 2005 at 04:26:08PM +0200, Pablo Neira wrote:
> Hi Harald,
> 
> The function merge_opts doesn't release previously merged options, this results 
> in a memory leak. This increases considerably memory comsumption in 
> iptables-restore.
> 
> This patch fixes a leak on error paths as well.

thanks, Committed revision 3936.

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20050529/0bc76dd2/attachment-0001.bin


More information about the netfilter-devel mailing list