ntdll: Fix NtAccessCheck for NULL, but present SACLs and DACLs.

Robert Shearman rob at codeweavers.com
Mon Oct 15 16:50:29 CDT 2007


Juan Lang wrote:
> Hi Rob,
>
> -        sd.sacl_len = (present ? sacl->AclSize : 0);
> +        sd.sacl_len = ((present && dacl) ? sacl->AclSize : 0);
>
> Shouldn't that be ((present && sacl) ? sacl->AclSize : 0); ?

Good spot. It wouldn't be the first time I've mixed up dacls and sacls...

Thanks,

-- 
Rob Shearman




More information about the wine-devel mailing list