ldb bug fixes

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Nov 23 21:15:13 UTC 2015


On Tue, Nov 24, 2015 at 09:15:36AM +1300, Adrian Cochrane wrote:
> I am not aware of anywhere outside this function (which specifically
> errors out in the NULL case) that would have a problem with
> msg->elements being NULL. I'll send another variant of the patch
> shortly which sets msg->elements to that if it will please you.

I'm asking because you have a special if-clause for num_elements==0 to
make sure that in that case msg->elements!=NULL. I would like to know
why this is necessary.

Thanks,

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