SCTP Discussions

Text archives Help


[SCTP-Discussion] Bug in bundling .c


Chronological Thread 
  • From: Schruefer Wolfgang <Wolfgang.Schruefer AT icn.siemens.de>
  • To: "'discussion AT sctp.de'" <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Bug in bundling .c
  • Date: Thu Apr 5 09:41:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Folks,

I had problems when sending because the datastructure of the
bundling_instance in bundlung.c was not initialized (here it was
bu_ptr->got_send_address).
So I inserted the following lines in function bu_new() ...

ptr->ctrl_position = 0;
ptr->sack_position = 0;
ptr->data_position = 0;
ptr->treating_received_chunks = FALSE;
ptr->got_sack_request = FALSE;
ptr->got_send_address = FALSE;
ptr->got_sack = FALSE;
ptr->got_shutdown = FALSE;
ptr->requested_destination = 0;

Viele Gruesse
Wolfgang Schruefer

**************************************
Wolfgang Schrüfer SIEMENS AG
ICN WN CC EKJ 14 TEL: +49 89 722-61646
mailto:Wolfgang.Schruefer AT icn.siemens.de
**************************************





Archive powered by MHonArc 2.6.19+.

Top of page