vfs_fruit: Time Machine/FULLSYNC: add mDNS/DNS-SD advertisement
slow at samba.org
Mon Jul 24 14:27:25 UTC 2017
On Sun, Jul 23, 2017 at 06:30:20PM -0700, Omri Mor wrote:
> Of course, I think that Avahi aborts on OOM (see oom() in
> avahi/avahi-common/malloc.c, which is called by their internal
> malloc/realloc/calloc wrappers, as well as g_malloc() from Glib, which also
> aborts on OOM). So the entire point is moot: getting a null pointer from from
> avahi_string_list_*() would require setting a custom allocator that does not
> abort on OOM, which we do not currently do.
ok, thanks for confirming. If that's the case, I'm fine with not checking, but
please add a small comment that Avahi and glib abort on OOM.
More information about the samba-technical