lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] unsent segments chain a loop?!


From: Fabian Koch
Subject: [lwip-users] unsent segments chain a loop?!
Date: Wed, 26 Feb 2014 11:30:21 +0100

Hey all,

I have a bug report where someone reports that the following section in tcp_out.c has led to an endless loop:

In 1.3.2, line 550, in 1.4.1, line 934:

  /* useg should point to last segment on unacked queue */
  useg = pcb->unacked;
  if (useg != NULL) {
    for (; useg->next != NULL; useg = useg->next);
  }

is it possible that useg->next loops back to useg?

kind regards,
Fabian
reply via email to

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