[Olsr-dev] Txtinfo broken?
Jo-Philipp Wich
(spam-protected)
Fri Jan 30 21:22:32 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey.
It's me again :)
Still running hg2227 and doing further tests, seems like we have problems with txtinfo too.
Running
~ echo "all" | nc 127.0.0.1 2006
results in a hanging olsrd process which consumes about 95% cpu on a standard wrt54g.
Running olsrd in foreground mode with debug level 2, this message is printed to stdout
when running the above command on another terminal:
"(TXTINFO) Connect from �Z��3G"
So I belive there is some buffer corruption going on. Same output when using wget instead
of nc.
Sometimes the expected output is returned by txtinfo, sometimes olsrd loops forever after
that, sometimes it crashes.
Unfortunately I have no time to run this under a debugger right now, I hope I can provide
some more information over the weekend.
Sometimes I also get spurious warnings like:
"Warning: probably sizeof(pointer) in strscpy(0x473e50, wl0, 4)!"
~ JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJg2GIdputYINPTPMRAp0xAJ9ltEQEguQ8eA6kYgmT3pZYNI01UgCeKPj7
Gr3e08uF4p2zuxJwrZ4JooA=
=gHVj
-----END PGP SIGNATURE-----
More information about the Olsr-dev
mailing list