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
aebb9dd3
Commit
aebb9dd3
authored
Aug 25, 2010
by
Eric Pouech
Committed by
Alexandre Julliard
Aug 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Don't access inside a bp structure if it's not initialized.
Spotted by Peter Urbanec.
parent
1e0af22a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
break.c
programs/winedbg/break.c
+4
-2
No files found.
programs/winedbg/break.c
View file @
aebb9dd3
...
...
@@ -510,13 +510,15 @@ void break_delete_xpoints_from_module(DWORD64 base)
for
(
i
=
0
;
i
<
dbg_curr_process
->
next_bp
;
i
++
)
{
if
(
bp
[
i
].
refcount
&&
bp
[
i
].
enabled
)
{
linear
=
(
DWORD_PTR
)
memory_to_linear_addr
(
&
bp
[
i
].
addr
);
if
(
bp
[
i
].
refcount
&&
bp
[
i
].
enabled
&&
im
.
BaseOfImage
<=
linear
&&
linear
<
im
.
BaseOfImage
+
im
.
ImageSize
)
if
(
im
.
BaseOfImage
<=
linear
&&
linear
<
im
.
BaseOfImage
+
im
.
ImageSize
)
{
break_delete_xpoint
(
i
);
}
}
}
}
/***********************************************************************
...
...
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