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
8ebf7c29
Commit
8ebf7c29
authored
Jan 29, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Jan 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed IsBadStringPtrA call that caused trouble.
parent
2d783f70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+1
-10
No files found.
dlls/comctl32/comctl32undoc.c
View file @
8ebf7c29
...
...
@@ -1470,23 +1470,14 @@ DSA_SetItem (const HDSA hdsa, INT nIndex, LPVOID pSrc)
INT
WINAPI
DSA_InsertItem
(
const
HDSA
hdsa
,
INT
nIndex
,
LPVOID
pSrc
)
{
INT
nNewItems
,
nSize
,
i
;
INT
nNewItems
,
nSize
;
LPVOID
lpTemp
,
lpDest
;
LPDWORD
p
;
TRACE
(
"(%p %d %p)
\n
"
,
hdsa
,
nIndex
,
pSrc
);
if
((
!
hdsa
)
||
nIndex
<
0
)
return
-
1
;
for
(
i
=
0
;
i
<
hdsa
->
nItemSize
;
i
+=
4
)
{
p
=
*
(
DWORD
**
)((
char
*
)
pSrc
+
i
);
if
(
IsBadStringPtrA
((
char
*
)
p
,
256
))
TRACE
(
"-- %d=%p
\n
"
,
i
,
(
DWORD
*
)
p
);
else
TRACE
(
"-- %d=%p [%s]
\n
"
,
i
,
p
,
debugstr_a
((
char
*
)
p
));
}
/* when nIndex >= nItemCount then append */
if
(
nIndex
>=
hdsa
->
nItemCount
)
nIndex
=
hdsa
->
nItemCount
;
...
...
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