svn commit: samba r17983 - in
branches/SAMBA_4_0/source/rpc_server/lsa: .
abartlet at samba.org
abartlet at samba.org
Fri Sep 1 04:37:31 GMT 2006
Author: abartlet
Date: 2006-09-01 04:37:31 +0000 (Fri, 01 Sep 2006)
New Revision: 17983
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17983
Log:
Use the UTF8-correct strcasecmp_m call for sorting these entries,
which has been recently fixed to cope with NULL pointers (fix segfault
on Solaris).
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c
Changeset:
Modified: branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c
===================================================================
--- branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c 2006-09-01 04:34:21 UTC (rev 17982)
+++ branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c 2006-09-01 04:37:31 UTC (rev 17983)
@@ -1271,7 +1271,7 @@
*/
static int compare_DomainInfo(struct lsa_DomainInfo *e1, struct lsa_DomainInfo *e2)
{
- return strcasecmp(e1->name.string, e2->name.string);
+ return strcasecmp_m(e1->name.string, e2->name.string);
}
/*
@@ -1355,7 +1355,7 @@
*/
static int compare_TrustDomainInfoInfoEx(struct lsa_TrustDomainInfoInfoEx *e1, struct lsa_TrustDomainInfoInfoEx *e2)
{
- return strcasecmp(e1->domain_name.string, e2->domain_name.string);
+ return strcasecmp_m(e1->netbios_name.string, e2->netbios_name.string);
}
/*
More information about the samba-cvs
mailing list