Answering my own question: Queue is uninitialized if the first goto memerr is taken.
Need: Queue = NULL; Someplace before the goto. Dave -----Original Message----- Hi, 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: tcp_segs_free(queue); Trouble is, although queue is not null, it is not always a valid pointer either. This eventually leads to the exception. I'm not intimate with the code so I was hoping someone could suggest which route through the function could be providing the bad pointer. Thanks, Dave _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
