From: Patrick McHardy <kaber@trash.net>
To: Thomas Woerner <twoerner@redhat.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] segmentation fault in free
Date: Thu, 26 Aug 2004 18:14:19 +0200 [thread overview]
Message-ID: <412E0C5B.7090909@trash.net> (raw)
In-Reply-To: <412DE778.2030202@redhat.com>
Thomas Woerner wrote:
>
> Hello,
>
>
> I have found a bad bug in iptables. saddrs and daddrs are allocated
> with calloc in host_to_addr if a hostname resolves to more than one ip
> address, but each array element if getting freed in do_command. The
> first free will free the whole array and the others are returning that
> this is not a pointer or are segfaulting.
>
> Fix for this is attached.
Thanks, already fixed in CVS.
Regards
Patrick
prev parent reply other threads:[~2004-08-26 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-26 13:36 [PATCH] segmentation fault in free Thomas Woerner
2004-08-26 16:14 ` Patrick McHardy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=412E0C5B.7090909@trash.net \
--to=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.org \
--cc=twoerner@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.