[Top][All Lists]

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

Re: [lwip-devel] lwip_unittests crash

From: address@hidden
Subject: Re: [lwip-devel] lwip_unittests crash
Date: Wed, 26 Aug 2015 20:22:36 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Gisle Vanem wrote:
address@hidden wrote:
Well, if you have a better idea how to write a unit test that is still readable 
while reacting correctly on *all*
possible combinations of options in lwipopts.h, go ahead!

I meant this as it's written: I'd rather use any lwipopts.h myself, but I haven't found an easy way to do so, yet. For the unit test it is like for the rest: ideas for improvement are always welcome!

It never occurred to me to use a different "lwipopts.h" than
the rest of lwIP was built with. The Wiki doesn't seems to mention
this either. I'll try to fix my makefiles to adopt to this.

The wiki contains something about the unit tests? Cool! I'm not really good at following the wiki changes :-(

So in my case, the crash at traversing the 'netif_list' was
caused by a 'struct netif' with a wrong layout. If it had
been an opaque pointer, it could be prevented. But I guess
that is too much too ask for.

I don't really get that? What was wrong with the layout? Can we fix this in our code?


reply via email to

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