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
bf89330d
Commit
bf89330d
authored
Jul 17, 2008
by
Huw Davies
Committed by
Alexandre Julliard
Jul 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't read past the end of a global memory block.
parent
b3f4091b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
dde.c
dlls/user32/tests/dde.c
+4
-2
No files found.
dlls/user32/tests/dde.c
View file @
bf89330d
...
@@ -178,8 +178,10 @@ static LRESULT WINAPI dde_server_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPA
...
@@ -178,8 +178,10 @@ static LRESULT WINAPI dde_server_wndproc(HWND hwnd, UINT msg, WPARAM wparam, LPA
ok
(
poke
->
cfFormat
==
CF_TEXT
,
"Expected CF_TEXT, got %d
\n
"
,
poke
->
cfFormat
);
ok
(
poke
->
cfFormat
==
CF_TEXT
,
"Expected CF_TEXT, got %d
\n
"
,
poke
->
cfFormat
);
if
(
msg_index
==
5
)
if
(
msg_index
==
5
)
ok
(
lstrcmpA
((
LPSTR
)
poke
->
Value
,
"poke data
\r\n
"
),
{
"Expected 'poke data
\\
r
\\
n', got %s
\n
"
,
poke
->
Value
);
size
=
GlobalSize
((
HGLOBAL
)
lo
);
ok
(
size
==
4
,
"got %d
\n
"
,
size
);
}
else
else
ok
(
!
lstrcmpA
((
LPSTR
)
poke
->
Value
,
"poke data
\r\n
"
),
ok
(
!
lstrcmpA
((
LPSTR
)
poke
->
Value
,
"poke data
\r\n
"
),
"Expected 'poke data
\\
r
\\
n', got %s
\n
"
,
poke
->
Value
);
"Expected 'poke data
\\
r
\\
n', got %s
\n
"
,
poke
->
Value
);
...
...
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