olsr.funkfeuer.at
Thursday, November 16, 2006
  Silent hard limit removed
FunkFeuer/Vienna ran yesterday into the problem that adding a 17th interface makes "olsrd" bail out right after startup. It turns out that there was a statically sized array for the number if interfaces defined but never checked. So the 17th wrote a pointer somewhere beyond the array. So this was actually a bug fix.

The fixes are committed into HEAD with http://www.olsr.org/pipermail/olsr-cvs/2006-November/000199.html and following.

Backporting the bug fix today to the "olsrd_04" stable branch required also the backporting of more stuff - there was another similarily statically sized array ("fwdtimer" for the curious). The patched version runs now for more than 1.5 hours on my home node - so it seems to work so far.

Apparently there were more statically size arrays in earlier versions - so this change seem to go into the corrct direction.

Alas, I probably broke the Windows port - see in the above commit message for more details. I should get the toolchain to work on windows.
 
Comments: Post a Comment



<< Home
olsr next generation development @ funkfeuer

Quick Nav

Links

Mercurial source code repository
funkfeuer.at
freifunk.net
olsr.org
olsr CVS

ARCHIVES
October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 /



Google
Locations of visitors to this page