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
bf1e9682
Commit
bf1e9682
authored
Oct 28, 2001
by
Ove Kaaven
Committed by
Alexandre Julliard
Oct 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect against an interrupt-pending signal recursion.
parent
d359812d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
signal_i386.c
dlls/ntdll/signal_i386.c
+3
-2
No files found.
dlls/ntdll/signal_i386.c
View file @
bf1e9682
...
...
@@ -787,6 +787,7 @@ static void set_vm86_pend( CONTEXT *context )
{
EXCEPTION_RECORD
rec
;
TEB
*
teb
=
NtCurrentTeb
();
struct
vm86plus_struct
*
vm86
=
(
struct
vm86plus_struct
*
)(
teb
->
vm86_ptr
);
rec
.
ExceptionCode
=
EXCEPTION_VM86_STI
;
rec
.
ExceptionFlags
=
EXCEPTION_CONTINUABLE
;
...
...
@@ -802,6 +803,7 @@ static void set_vm86_pend( CONTEXT *context )
/* seems so, also set flag in signal context */
if
(
context
->
EFlags
&
VIP_MASK
)
return
;
context
->
EFlags
|=
VIP_MASK
;
vm86
->
regs
.
eflags
|=
VIP_MASK
;
/* no exception recursion */
if
(
context
->
EFlags
&
VIF_MASK
)
{
/* VIF is set, throw exception */
teb
->
vm86_pending
=
0
;
...
...
@@ -809,10 +811,9 @@ static void set_vm86_pend( CONTEXT *context )
EXC_RtlRaiseException
(
&
rec
,
context
);
}
}
else
if
(
teb
->
vm86_ptr
)
else
if
(
vm86
)
{
/* not in VM86, but possibly setting up for it */
struct
vm86plus_struct
*
vm86
=
(
struct
vm86plus_struct
*
)(
teb
->
vm86_ptr
);
if
(
vm86
->
regs
.
eflags
&
VIP_MASK
)
return
;
vm86
->
regs
.
eflags
|=
VIP_MASK
;
if
(
vm86
->
regs
.
eflags
&
VIF_MASK
)
{
...
...
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