All of lore.kernel.org
 help / color / mirror / Atom feed
* crash bug due to a missing initialization
@ 2009-03-13 11:18 BORBELY Zoltan
  2009-03-16  8:47 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: BORBELY Zoltan @ 2009-03-13 11:18 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

Hi,

In the ctnetlink_create_expect() function (in file nf_conntrack_netlink.c),
you forgot to initialize exp->class, which causes a crash in the
nf_ct_expect_related() function. I've just put an

    exp->class = 0;

line before the exp->expectfn = NULL line, and it has solved the problem.

Bye,
Bozo

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

* Re: crash bug due to a missing initialization
  2009-03-13 11:18 crash bug due to a missing initialization BORBELY Zoltan
@ 2009-03-16  8:47 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2009-03-16  8:47 UTC (permalink / raw)
  To: BORBELY Zoltan; +Cc: Netfilter Development Mailinglist

BORBELY Zoltan wrote:
> Hi,
> 
> In the ctnetlink_create_expect() function (in file nf_conntrack_netlink.c),
> you forgot to initialize exp->class, which causes a crash in the
> nf_ct_expect_related() function. I've just put an
> 
>     exp->class = 0;
> 
> line before the exp->expectfn = NULL line, and it has solved the problem.

Good catch.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

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

end of thread, other threads:[~2009-03-16  8:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 11:18 crash bug due to a missing initialization BORBELY Zoltan
2009-03-16  8:47 ` Pablo Neira Ayuso

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.