Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
579f4f9d
Commit
579f4f9d
authored
Nov 27, 2012
by
André Hentschel
Committed by
Alexandre Julliard
Nov 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Exit when we can't map the shared user data.
parent
3303ba7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
thread.c
dlls/ntdll/thread.c
+8
-1
No files found.
dlls/ntdll/thread.c
View file @
579f4f9d
...
...
@@ -200,6 +200,7 @@ HANDLE thread_init(void)
SIZE_T
size
,
info_size
;
HANDLE
exe_file
=
0
;
LARGE_INTEGER
now
;
NTSTATUS
status
;
struct
ntdll_thread_data
*
thread_data
;
static
struct
debug_info
debug_info
;
/* debug info for initial thread */
...
...
@@ -209,7 +210,13 @@ HANDLE thread_init(void)
addr
=
(
void
*
)
0x7ffe0000
;
size
=
0x10000
;
NtAllocateVirtualMemory
(
NtCurrentProcess
(),
&
addr
,
0
,
&
size
,
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_READWRITE
);
status
=
NtAllocateVirtualMemory
(
NtCurrentProcess
(),
&
addr
,
0
,
&
size
,
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_READWRITE
);
if
(
status
)
{
MESSAGE
(
"wine: failed to map the shared user data: %08x
\n
"
,
status
);
exit
(
1
);
}
user_shared_data
=
addr
;
/* allocate and initialize the PEB */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment