[PATCH] Create talloc-less functions for formating GUID

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Oct 1 00:54:26 MDT 2014


On Tue, Sep 30, 2014 at 11:42:07PM -0700, Matthieu Patou wrote:
> Actually I recall why I haven't changed GUID_string myself:
> 
> There is cases where the caller of GUID_string expect the string to be
> talloced for instance in dns_generate_keyname in lib/addns/dnsutils.c

Hmm. I believe that's what my patch does:

return talloc_strdup(mem_ctx, GUID_buf_string(guid, &buf));

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list