[PATCH] The build with MIT KRB5 doesn't compile after process_prefork has been added

Andreas Schneider asn at cryptomilk.org
Thu Oct 19 15:37:41 UTC 2017


the attached patch fixes building Samba with MIT Kerberos. The pointer for 
model_ops is uninitialized.

error: ‘model_ops’ may be used uninitialized in this function [-Werror=maybe-

We have in the README.Coding that pointers should be *ALWAYS* initialized!!

Please review and push if OK.



Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn at cryptomilk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-kdc-Initilaize-pointer-of-kdc-service-mit.patch
Type: text/x-patch
Size: 1035 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171019/d90fb3a2/0001-s4-kdc-Initilaize-pointer-of-kdc-service-mit.bin>

More information about the samba-technical mailing list