[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sctp
Subject:    Re: [PATCH lksctp-tools] func_tests: fix use of uninitialized var
From:       Marcelo Ricardo Leitner <marcelo.leitner () gmail ! com>
Date:       2018-09-27 15:10:45
Message-ID: 20180927151045.GA6761 () localhost ! localdomain
[Download RAW message or body]

On Wed, Sep 26, 2018 at 01:53:58PM -0300, Marcelo Ricardo Leitner wrote:
> From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
> 
> code-share1 reported that test_1_to_1_events was failing with:
> ./test_1_to_1_events
> test_1_to_1_events.c 1 PASS : COMM_UP notification on client socket - SUCCESS
> test_1_to_1_events.c 2 PASS : COMM_UP notification on server socket - SUCCESS
> test_1_to_1_events.c 3 BROK : Got a datamsg, expecting notification
> DUMP_CORE sctputil.c: 187
> 
> Turns out we were not initializing events, and thus relying on trash in
> the stack to enable sctp_authentication_event for us.
> 
> Fixes #25
> 
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>

Applied.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic