ldb bug fixes

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Nov 24 05:44:46 UTC 2015


On Tue, Nov 24, 2015 at 10:26:59AM +1300, Adrian Cochrane wrote:
> The intent is not to prevent msg->elements from being NULL, but to
> prevent the function from treating that as an error.

Ok, so there *is* a place somewhere else that checks for
msg->elements==NULL and treats it as an error?

Sorry to be picky, but this kind of array/memory logic is
always confusing, and in such lowlevel code we should really
try to avoid confusion.

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