lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #31177] lwIP 1.3.2 tcp_slowtmr() can corrupt tcp_activ


From: Dave Wilson
Subject: [lwip-devel] [bug #31177] lwIP 1.3.2 tcp_slowtmr() can corrupt tcp_active_pcbs in some cases.
Date: Fri, 01 Oct 2010 12:33:45 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

Follow-up Comment #1, bug #31177 (project lwip):

In reviewing this change, I realised that I had not taken into account the
case where the active PCB list is empty after the PCB is removed. As a result,
the suggested fix should actually be:

      prev = tcp_active_pcbs;
      while(prev && (prev->next != pcb))
      {
          prev = prev->next;
      }

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31177>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]