Silent hard limit removed
FunkFeuer/Vienna ran yesterday into the problem that adding a 17
th 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 17
th 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.