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
fe880597
Commit
fe880597
authored
Jan 23, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Jan 24, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Remove unnecessary NtQueryVirtualMemory call.
parent
d81c4ce1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
loader.c
dlls/ntdll/loader.c
+0
-4
No files found.
dlls/ntdll/loader.c
View file @
fe880597
...
...
@@ -4255,14 +4255,10 @@ void loader_init( CONTEXT *context, void **entry )
if
(
!
imports_fixup_done
)
{
MEMORY_BASIC_INFORMATION
meminfo
;
ANSI_STRING
ctrl_routine
=
RTL_CONSTANT_STRING
(
"CtrlRoutine"
);
WINE_MODREF
*
kernel32
;
PEB
*
peb
=
NtCurrentTeb
()
->
Peb
;
NtQueryVirtualMemory
(
GetCurrentProcess
(),
LdrInitializeThunk
,
MemoryBasicInformation
,
&
meminfo
,
sizeof
(
meminfo
),
NULL
);
peb
->
LdrData
=
&
ldr
;
peb
->
FastPebLock
=
&
peb_lock
;
peb
->
TlsBitmap
=
&
tls_bitmap
;
...
...
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