From: Gerald Carter Date: Tue, 11 Sep 2007 18:08:07 +0000 (+0000) Subject: r25099: Commit fix for CVE-2007-4138 from 3.0.26 release. X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=aa768a4a20930833d6921ed112601873b228a64d;p=jerry%2Fsamba.git r25099: Commit fix for CVE-2007-4138 from 3.0.26 release. --- diff --git a/source/nsswitch/idmap_ad.c b/source/nsswitch/idmap_ad.c index 6f8839e4b..41dbb471f 100644 --- a/source/nsswitch/idmap_ad.c +++ b/source/nsswitch/idmap_ad.c @@ -773,7 +773,7 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e, if ( gid ) { if ( !ads_pull_uint32(ads, msg, ad_schema->posix_gidnumber_attr, gid ) ) - *gid = 0; + *gid = (uint32)-1; } return NT_STATUS_OK;