[PATCH] Bug in get_dc_name_via_netlogon() in winbindd_cm.c
boyang
boyang at suse.de
Wed Jan 14 11:20:16 GMT 2009
Hi, everybody:
We can rely in the werr status return from
rpccli_netr_DsRGetDCName(). please have a look at
rpccli_netr_DsRGetDCName(), if it fails, status is set. But *info is not
set and werr is not set too. we can reference to null pointer *info
after the call rpccli_netr_DsRGetDCName(). This only happens when
rpccli_netr_DsRGetDCName() fails, and werr is originally 0, in which
case info = NULL; :-)
patch for master in the attachment, please review it.
Thanks!
Best
Regards
BoYang
14th, Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get_dc_name_via_netlogon-master.diff
Type: text/x-patch
Size: 885 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090114/7f5e8a99/get_dc_name_via_netlogon-master-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boyang.vcf
Type: text/x-vcard
Size: 187 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090114/7f5e8a99/boyang-0001.vcf
More information about the samba-technical
mailing list