Hello Dave,

Dave Perry wrote:

Answering my own question:

Queue is uninitialized if the first goto memerr is taken.
Need:
Queue = NULL;
Someplace before the goto.
...
I'm working with the 1.1.0 release on an ARM (lpc2138) processor and ran
across this issue. I was getting Data Abort exceptions and I've tracked it
down to this point, but I'm not sure what a good fix would be.

In the function tcp_enqueue() there are several places which goto the label
memerr.  At that point, if queue is not null, this call is made:

This was already fixed in CVS HEAD but thanks for the report!

Regards, Leon.


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to