[PATCH] old kcc: avoid a theoretical NULL dereference

Garming Sam garming at catalyst.net.nz
Sun Sep 17 22:01:11 UTC 2017


I would prefer this patch.

Metze only had objections against removing the currently used KCC code 
in C, but as you can see from the patch, the result of this code is 
ignored and also untested.

Please push this instead.

Cheers,

Garming


On 15/09/17 16:09, Douglas Bagnall via samba-technical wrote:
> A new version of GCC doesn't want to compile
>
>      qsort(NULL, 0, ...);
>
> in case qsort dereferences. This can happen in the old KCC code if it
> can't find any suitable bridgeheads.
>
> cheers,
> Douglas
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kcc-Remove-unused-untested-KCC-code.patch
Type: text/x-patch
Size: 100543 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170918/198d8f27/0001-kcc-Remove-unused-untested-KCC-code.bin>


More information about the samba-technical mailing list