lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] lwIP 2.0.2 Crash on tcp_out.c line 1148 (TCP_SEQ_LT) EX


From: address@hidden
Subject: Re: [lwip-devel] lwIP 2.0.2 Crash on tcp_out.c line 1148 (TCP_SEQ_LT) EXC_BAD_ACCESS
Date: Fri, 15 Sep 2017 20:25:14 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

jah6q wrote:
if (TCP_SEQ_LT(lwip_ntohl(seg->tcphdr->seqno),
lwip_ntohl(useg->tcphdr->seqno)))

The offset 0x18 tells me one of the struct tcp_seg pointers is zero. Can you tell which one?
It must be 'useg', since 'seg' is dereferenced before already.

However, I fail to see how 'useg' could be NULL without taking the if (pcb->unacked == NULL) branch...


Simon



reply via email to

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