[avahi] Installation on SuSE 10.0
Lennart Poettering
lennart at poettering.net
Sun Feb 19 11:37:25 PST 2006
On Sun, 19.02.06 19:12, Peter Onion (Peter.Onion at btinternet.com) wrote:
>
> On Sun, 2006-02-19 at 16:42 +0000, Peter Onion wrote:
> > On Sun, 2006-02-19 at 14:29 +0000, Peter Onion wrote:
> >
> > I seem to have a catch-22 situation.
> >
> > Logging doesn't seem to work if the daemon chroots
> >
> > Logging DOES work but the bug doesn't happen if the daemon doesn't
> > chroot !
>
>
> Working blind (with no way that I can see to get debugging out of the
> chtrooted daemon) is hard work.... BUT ...
> The problem is in the new functionality in
> static_hosts_load in static_hosts.c
>
> I expect it's a seg fault in the parsing code. I'm going to cut and
> paste it into another file to try and debug iy..
yepp. the code is borked. Just had a look on it. If you have some
chars at the end of the line where they don't belong the code makes
"BOOM!". Besides that the code leaks some memory if a parse failure
occurs. And finally indenting is broken on that specific section...
Lathiat, you wrote that code, please have a look on fixing it.
Lennart
--
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/
More information about the avahi
mailing list