[avahi] Re: 64bbit woes with Avahi

Lennart Poettering lennart at poettering.net
Fri May 5 06:32:33 PDT 2006

On Thu, 04.05.06 21:20, Joe Marcus Clarke (marcus at FreeBSD.org) wrote:

> I found the problem with FreeBSD.  Your test for sys/sysctl.h require
> sys/types.h to be included first.  Therefore, avahi doesn't think
> FreeBSD has sys/sysctl.h, and then passes an unitialized needed size to
> avahi_malloc() in iface-pfroute.c.  Note: this function looks suspect.
> needed is only initialized is sys/sysctl.h exists.  On systems without
> that header, an unitialized size_t will be passed to avahi_malloc().
> Once I fixed the test for sys/sysctl.h in configure, I was able to use
> avahi-daemon and avahi-discover-standalone just fine.

Hmm, this is probably caused by the Solaris patch we merged.


What fix do you suggest?


Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/

More information about the avahi mailing list