8 Jul
2014
8 Jul
'14
5:08 p.m.
Joris van der Wel <joris(a)jorisvanderwel.com> writes:
+/** Set the security descriptor using the current primary token for defaults. */ +int default_set_sd( struct object *obj, const struct security_descriptor *sd, + unsigned int set_info ) +{ + return set_sd_defaults_from_token( obj, sd, set_info, current ? current->process->token : NULL );
There shouldn't be any need to test the current pointer for null. If it's needed, that probably indicates some other problem. -- Alexandre Julliard julliard(a)winehq.org