List Info

Thread: 64bbit woes with Avahi




64bbit woes with Avahi
user name
2006-05-05 13:32:33
On Thu, 04.05.06 21:20, Joe Marcus Clarke (marcusFreeBSD.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.

http://avahi.org/chan
geset/1206

What fix do you suggest?

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lenn
art/
_______________________________________________
avahi mailing list
avahilists.freedesktop.org
h
ttp://lists.freedesktop.org/mailman/listinfo/avahi
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )