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
6ca71d39
Commit
6ca71d39
authored
Oct 21, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid crashing on non-initialized debug info.
parent
5181cda0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
debugtools.c
dlls/ntdll/debugtools.c
+2
-4
No files found.
dlls/ntdll/debugtools.c
View file @
6ca71d39
...
...
@@ -170,7 +170,7 @@ inline static char *put_string_w( const WCHAR *src, int n )
const
char
*
wine_dbgstr_an
(
const
char
*
src
,
int
n
)
{
char
*
res
,
*
old_pos
;
struct
debug_info
*
info
;
struct
debug_info
*
info
=
get_info
()
;
if
(
!
HIWORD
(
src
))
{
...
...
@@ -180,7 +180,6 @@ const char *wine_dbgstr_an( const char *src, int n )
return
res
;
}
/* save current position to restore it on exception */
info
=
NtCurrentTeb
()
->
debug_info
;
old_pos
=
info
->
str_pos
;
__TRY
{
...
...
@@ -201,7 +200,7 @@ const char *wine_dbgstr_an( const char *src, int n )
const
char
*
wine_dbgstr_wn
(
const
WCHAR
*
src
,
int
n
)
{
char
*
res
,
*
old_pos
;
struct
debug_info
*
info
;
struct
debug_info
*
info
=
get_info
()
;
if
(
!
HIWORD
(
src
))
{
...
...
@@ -212,7 +211,6 @@ const char *wine_dbgstr_wn( const WCHAR *src, int n )
}
/* save current position to restore it on exception */
info
=
NtCurrentTeb
()
->
debug_info
;
old_pos
=
info
->
str_pos
;
__TRY
{
...
...
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