Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
959ca6ac
Commit
959ca6ac
authored
Nov 13, 2014
by
Bruno Jesus
Committed by
Alexandre Julliard
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Avoid a possible null dereference.
parent
bab4c36d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
clipboard.c
dlls/ole32/clipboard.c
+4
-6
No files found.
dlls/ole32/clipboard.c
View file @
959ca6ac
...
...
@@ -210,13 +210,11 @@ UINT ole_private_data_clipboard_format = 0;
static
UINT
wine_marshal_clipboard_format
;
static
inline
char
*
dump_fmtetc
(
FORMATETC
*
fmt
)
static
inline
c
onst
c
har
*
dump_fmtetc
(
FORMATETC
*
fmt
)
{
static
char
buf
[
100
];
snprintf
(
buf
,
sizeof
(
buf
),
"cf %04x ptd %p aspect %x lindex %d tymed %x"
,
fmt
->
cfFormat
,
fmt
->
ptd
,
fmt
->
dwAspect
,
fmt
->
lindex
,
fmt
->
tymed
);
return
buf
;
if
(
!
fmt
)
return
"(null)"
;
return
wine_dbg_sprintf
(
"cf %04x ptd %p aspect %x lindex %d tymed %x"
,
fmt
->
cfFormat
,
fmt
->
ptd
,
fmt
->
dwAspect
,
fmt
->
lindex
,
fmt
->
tymed
);
}
/*---------------------------------------------------------------------*
...
...
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