[Olsr-dev] olsr1 / crashes with recent OpenWrt

Henning Rogge (spam-protected)
Fri Jan 1 21:33:33 CET 2016


On Fri, Jan 1, 2016 at 8:58 PM, Bastian Bittorf <(spam-protected)> wrote:
> * Henning Rogge <(spam-protected)> [01.01.2016 19:49]:
>> could you maybe test the attached patch? I don't think it will help,
>> but I want to make sure we are not just dealing with a double-free.
>
> thanks henning!
>
> it does at least change the crash:
> i adapted the patch[1] by appending the 's' everywhere, e.g
> parse_funtions = NULL;
>
> i used the release 0.9.0.3
> and the crash now looks like this:
>
> (gdb) bt full
> #0  0x774b4e54 in ?? ()
> No symbol table info available.
> #1  0x0042258f in olsrd_free_cnf (cnf=0x7748c010) at
> src/cfgparser/olsrd_conf.c:879

I think there might be a "free(cnf->interfaces);" missing behind the
"while (cnf->interfaces) {" loop.

Henning



More information about the Olsr-dev mailing list