Re: [PATCH lksctp-tools] func_tests: fix use of uninitialized var

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 26, 2018 at 01:53:58PM -0300, Marcelo Ricardo Leitner wrote:
> From: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>
> 
> 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@xxxxxxxxx>

Applied.



[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux