* uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo.
(cygheap_user::env_logsrv): Verify env_domain is valid. * environ.cc: Include child_info.h and keep spenvs[] sorted. (environ_init): Check child_proc_info instead of myself->ppid_handle.
This commit is contained in:
@@ -460,7 +460,7 @@ cygheap_user::set_sid (PSID new_sid)
|
||||
if (new_sid)
|
||||
{
|
||||
if (!psid)
|
||||
psid = cmalloc (HEAP_STR, MAX_SID_LEN);
|
||||
psid = cmalloc (HEAP_STR, MAX_SID_LEN);
|
||||
if (psid)
|
||||
return CopySid (MAX_SID_LEN, psid, new_sid);
|
||||
}
|
||||
|
Reference in New Issue
Block a user